{"_id":"@alexa-games/sfb-f","_rev":"80-0d87d45050bf23fd8a67765705248502","name":"@alexa-games/sfb-f","dist-tags":{"latest":"2.1.2","nightly":"2.1.1-nightly.232104632.13","beta":"2.0.1-beta.18"},"versions":{"0.5.0-alpha.4":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"^0.5.0-alpha.4","@alexa-games/sfb-util":"^0.5.0-alpha.4","ask-sdk":"^2.6.0","inquirer":"^6.2.2","nyc":"13.3.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' && npx mocha 'dist/test/**/*.spec.js'","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter text npm run test","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"0.5.0-alpha.4","gitHead":"d7998ecb101af0909eb6eac02abe1b14aeded241","_id":"@alexa-games/sfb-f@0.5.0-alpha.4","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.15.0/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-pWDvh5HTU/IUyJT4QDJkxvIIyu7eEAc+077I4GzWspJcUKl5uz+zyxHZjvIzP3VDcRmetY+n32Vq5k2tr6ZeGw==","shasum":"d69a19f9d60d879c5051f85b084f413cbb8557a1","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-0.5.0-alpha.4.tgz","fileCount":204,"unpackedSize":8011169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJ4nWCRA9TVsSAnZWagAATJ8QAJ2RQmjC0CJEd7W49mYt\nIE9/fPwlxOI8PodQLATWsXc1gYakjYdUdjDs//SCMxuWq3TdeEsCZXX03Np5\nTK91pRI7JiHgvwXWiHrMRw54jd/C+DIirQo4CC3qIjltdPjzX2p9Ygt7nJkJ\npLaqvWXtNuXd9S3OQuJApcSeaUi3D5/obK+aa+e5BBAz5/YU/slGbq/w1xiL\nkvPmEb5XS/44JT/JO73emqWaC7MOwPcHcGN0UQepnPbU3n96u5H6RWfwVjd9\nxwBDAqcjLsae5Q77Xh9XcygtXejm+YOOV7bma0EDgRSwHgjnd0uby3rRSZgD\noQ7gQdyjiphbUKKgsksYevsKoH/2M/Wg/tgqTXSZupoVbzx01y2ODIpe7N8U\nZgeqU9IXF+XG+vLvu9oKWoIzKGdHJnuUie53mCDlcax38LXmmVaxLhkfMB9t\n0NSiQerV+ZC9GT63rTY6wZw8fqrorPzpp/aTsVp+VBGfpiaLDMpqcT2p+7Ar\nvxxz/zx2fe5sz002zrvWY7t/1spNaxOKsqvFvQQdsNgAicf1JTkUFIGOoel3\nwU+baKfH3L0QAfdl38ZXEGeyPk8BrTqdfKONdhuQ6+nCt5Qr/TN7B9r8GAr7\n6Bc89jNINweC+wn/nMbMTVaKaroDbwrI43QuetUZ9+tWpx4XHRRPvgFHrOZo\nXWnM\r\n=n35W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvcYtBF9zDQQUySAIapN5Zmzawe7WAR3/HuXDQfXx9LgIgUy5fkDpPjoeCYXB5ZEzSLtGIkvzpVnE95pbKl3FGclo="}]},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_0.5.0-alpha.4_1562872277832_0.3143166562579356"},"_hasShrinkwrap":false,"deprecated":"Prerelease versions deprecated"},"0.5.0":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"^0.5.0","@alexa-games/sfb-util":"^0.5.0","ask-sdk":"^2.6.0","inquirer":"^6.2.2","nyc":"13.3.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' && npx mocha 'dist/test/**/*.spec.js'","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter text npm run test","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"0.5.0","gitHead":"a79a53dd173a27e8a4e52a387a8d851ba7ab70b1","_id":"@alexa-games/sfb-f@0.5.0","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.15.0/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-YAkeM967RIcI5xlUs95eB8R3r13C5hTG0rebc2obRouw2TYPQLSvxKrRa6U2sqDEpsrJ/whsT/ty1F0S8Li5WQ==","shasum":"be95eb20c37c0d07b3d0c4e0bf030f373c4b659d","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-0.5.0.tgz","fileCount":204,"unpackedSize":8021901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLjR8CRA9TVsSAnZWagAAPHsP/iMBKwR9pnQgzN/JtQn7\nGbdFNgrbY0OvR8q+Oh2X2hsotBQ4miH/GliAfDjd9D+EyqSO49bwuPr0aY8m\nCkzRRrWG6jlDeBvhGZoURkQ5o470nB7XlxdGewcfIKf0c83aIDZQWRfxFM65\n9Xeq1OCsSFeKiZ3a6T8g5CunAosj0Fhuy5mRqGwROiwobVfuFJ2wbdMmpcfx\nmIi8wMkXGoAQreYm0nNVWf4iRsOTmaV9Xa4M8q/0PgtkM22tHW4WSfCMBGJh\nTIN/S0MdkzuI/fxCzFqhuoivTykH49lJDOwSduBHZlfawCMxErzqOnQWFNUR\nqo91PkkLj1/FVoudbRsYXSvT1/BqeCbRl5O7sAKZUhYF48mN1nQj+z425Mao\nqoSWcJgstgCHYxozWqjfzURgMogTxsZwZEhZYlqvh9nYtiBmC8VMrGoLluvn\nkWK5+JNDJI94W5CSALLe1JExj0Z8pUyYI55ziOsn3TcsEwrlF5HIZU4sgtnq\nGtd8Yh/gW2ojF3SyKHF571+qSkgZDOuV6AMs6JRvnyUA2LAEW/T+r3vipT9s\n922yI4aDNAwFRWes/rNJvXeGmMqBLyiLLaGGvS97ey42vwHGSP5ni11adkj2\n2+Y1kBSOcpv+RumfKZhJ9DmN6y7mt616NdhhwMIONiksSIFGhN+2B0TQ2moq\nxrS2\r\n=VAOH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1eOAtxeLzES5HkGAt20FCt3B7fcpcNlFHLigkjqkjaAiEAsLkZKD8Oc91hENnU6c/YLKbSDg/fHopwcpNccIFzplI="}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_0.5.0_1563309179434_0.8581576182087114"},"_hasShrinkwrap":false,"deprecated":"Prerelease versions deprecated"},"1.0.1":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"^1.0.0","@alexa-games/sfb-util":"^1.0.1","ask-sdk":"^2.6.0","inquirer":"^6.2.2","nyc":"13.3.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' && npx mocha 'dist/test/**/*.spec.js'","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter text npm run test","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.0.1","keywords":["game","story","Alexa","skill","voice"],"gitHead":"e302dfe3e8660d2f7f806f8016df5932b5b0643c","_id":"@alexa-games/sfb-f@1.0.1","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.15.0/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-VgmNjj9+0QFheA17Kpq37RTVIkndyiNoHF59ljWr84oJPZNllmLlonxPtXQ0sQLIHpQ1HkYuyAAyJWLSRaMw2A==","shasum":"0cb7b80f1bd1c52ea7b944508829f86676e46839","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.0.1.tgz","fileCount":205,"unpackedSize":8024470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMOaMCRA9TVsSAnZWagAAvncP/AnG2ZOoIGfUiy60iEFV\nd3gcoOA5/9XqoUPdQPUaOWcbhgZ9H/BbtlhqflvNn7jrr8lSMXzW0/300KS0\nGUxi/SomKy/6Vk1aIh5TUnjeaRUfDWy9P6Fnxr2E6CLCIE5yhowSmAPq7gJ+\nIXAwTouHukTux57JOQpzV41f393+ISQTVF/PIi2DR4niHnmOBDFEjp3bgtnM\nwgAOj4LXoqsvxMGGWfOxdcXW9yHrxvXutl20B3HCWL71t9fOsODEdPUWMhP8\nW/x4c5+sNZHFEtFPhNH5miZLitVf4eKIwgwZ+Qf1zLig5lai2A8qIJB/+pW7\nhePXBBKu5dIKGrzoNDXQoBDC6yvf/jLPS9PahtK0TM8o7lc4V2FeO9Hd9esT\nuzn91Pae6ezdUjGnfwUZl3jKp8PjzHGuVZDGf7MMR41V1OtOaz9kfHYZU5yH\nQGz7HfZC8LOAniOfDrquWksim8MnoKRDmFOesZ4q+3yZmvTuiQx+Q6gLI1fE\nTHFBFvThnYVAqe+2L3q7D6TAj6eeZgf7B3Jw+NGiJPC4+C7C7LjzQ795mba6\n2vV6zAnSLJtw3kAySD+ZlYXV/pFxYvDH1+eP7GbDv7dmqC25Evim5woTtbyJ\n/aovZ4jnSO6b1D/JvKy/DKSkC7MkDWZZrdVfqvvSJ4n5iOy6OPm2Lz3OHGqS\nUJHa\r\n=EjbQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCQvqGhfhSzkM0PkJMAaR3o/hLHO8vnz97XeY+YEawAQIgYAZtPKJ0cBdQlyi3/P2JwJE4K7bJclAXBBUyDpicCiI="}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.0.1_1563485835276_0.4371492569387061"},"_hasShrinkwrap":false,"deprecated":"Prerelease versions deprecated"},"1.0.2":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"^1.0.2","@alexa-games/sfb-util":"^1.0.1","ask-sdk":"^2.6.0","inquirer":"^6.2.2","nyc":"13.3.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' && npx mocha 'dist/test/**/*.spec.js'","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter text npm run test","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.0.2","keywords":["game","story","Alexa","skill","voice"],"gitHead":"738294d63c8d42518d621535112806994c988971","_id":"@alexa-games/sfb-f@1.0.2","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.15.0/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-H1f5KMguKJ+dKgqcW2W9Z2HCVnQLPZjRY1/RQyq0/31983htp1xo6HCJEtO+v+NvkyVnDaUWKeTVMrpJ3wEoqQ==","shasum":"e2d50cbbb419d98f3414da1efc3b8d72c9ce9b12","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.0.2.tgz","fileCount":205,"unpackedSize":8024470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMOsOCRA9TVsSAnZWagAAfLgP/ipzZ1C43UmXOl75NTdn\npywCT3YYnLfQitskhGYCYvCKGyflb/QQtfbw+2Ky/SXdyr31OqrX8BXRMXNg\nzqnvLAGab/uT4p+3Q1lfD1w3STAQL2mwjBG0k3YbkbdFWV3RBrnaroKqmXNz\n0BVYczydz9pBSAUY4zre8WFbFI2ELkirLB/YHqF3e2//+Dzbodged545j+/d\nNkzHfq+QtoErrjzYmoumkEp10BPYYwjDdqc/jpW6P+/NQ9Xt/ngF6klbjbbl\nvsJ+w7ACEZ+S9Lz6JZnl/qYYrJcM9CeD5Dox0RfqWjcvMk8MkF9Rjyq26TrU\n5nSrmYXjhUmSJotxPbpz84E/1Lc/4pVaB2asO8vjNdTgh+8WO9GPyVQ4U15f\nZbBaAZzcoGKu9atlAjfDltQG+W4kZUkdsxXCUlY0/++xxrUgSfWGnxZPKD06\nmsGDNKeYgQc2QLC/L9N5MOl89hUUkE1AsWKW+yTs0uSHfBD3c7XrfTLhDbSJ\nQCCpPX98cgz8vdgGXaY4WoloK87dSLJVhxSPRsghUayxR2AAIQyvGPa3bsNh\nFg+VzUjk7r+fdleUO+Iu3cWfbaAhTnx7let8cCne5q7j87zaWeH7ZPS8x0pg\nyEJk8219JBFazlGoATFXupN5Vk98bMeIMbM8KnprfxluSPQ/XkGAU1KzX0Z0\nDZFf\r\n=qw16\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE11JhYX40WLmnwChoZb9cTMSwMUC8NLQkVGsRu8oSu0AiAcc5vpkHxmaHkDUuhP3JeXwy30xrNxRwJS0waOHYpiPA=="}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.0.2_1563486989469_0.32445470241827956"},"_hasShrinkwrap":false},"1.0.3":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"^1.0.3","@alexa-games/sfb-util":"^1.0.3","ask-sdk":"^2.6.0","inquirer":"^6.2.2","nyc":"13.3.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' && npx mocha 'dist/test/**/*.spec.js'","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter text npm run test","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.0.3","keywords":["game","story","Alexa","skill","voice"],"gitHead":"353ac3f881a3c3f73a5d503884bb8aa3dd7c4224","_id":"@alexa-games/sfb-f@1.0.3","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-yT2BXnxvZn00k0i2mN8tD3Qtl3mKWpxuAWchx8JV9XtL6GKQZdWqR/9GQ73E06q1rFZpqBkReLtsC5tFCpkvSw==","shasum":"9adb1c6d777f1385e18984ae1be215370f5a3593","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.0.3.tgz","fileCount":213,"unpackedSize":8798575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPzCpCRA9TVsSAnZWagAAQd0P/1Mkdz881NRYXllvz+LJ\nDnZod8qrlV50iXuSwranmMMxjWJXhNW/9BgHfU6BAKDWuzcX/V9s/JXSeXgk\nocwm6sER2TBCW6hk5+Jn6wyjxIrSyoQC2zwQFgKvoA6huC6kMFY1j/8t0K6x\nIPGBmky1GA8BLFr/jI/Uz5ozXPATVW0wlAHe7p5btKH9w9rPfDNA2dBdtcLf\nSlSIc2SayZU9nFpOErKFN4ASMvplwBwqxAhssnQ7yAvDbfaLWbjTJMysKXxU\n20JPMiZI6/ZsGw0kCwCP09BskFA58QcODPY/ghRJHm8YC6zV9/PXtal/uJ4y\nItHYlJ18OCirYl837Z+HMugD1/IaIFlRF/4CJ4m2W3T1GiCWHP7pH4XoE0Ke\njgh92UN3+IiWUUestwbclnLcDUdMxeg3dtcytkYR8oYpaHy3DRlQ2qcU8HAs\nqibmhweEkA7w4RK7VO3J/hrGBKeF3WfHzlwrc9ygkAj/uQLVPdVzkM7c9b4X\n62/2w+/LwIn7tA9M69j+Nw3ezx9e3cdE34uCK5wMTQ/ZXuZ1DIiByA5CThXF\nxCGBY8O1MhoJKJM82lDEqX9QnWVPIx3bDzjgu2DZF/5tPDoHeYVrc/I/gGqp\np0qACY3EPjZ5aZ/bryqBEsq1+n6OnGz/hzPHMfF6Z6OjHSryyax2OuAHCZ4o\n3tsB\r\n=nYdi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsH5k3y8RmmZ460Wy6n2koEDzTUYIujQw01lyUfKHEVwIgTwvfUa14FgX/KvX+EC7n9KXMeErYofsXD37WBLoxbaQ="}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.0.3_1564422309664_0.8042156483625209"},"_hasShrinkwrap":false},"1.1.2":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"^1.1.2","@alexa-games/sfb-util":"^1.1.2","ask-sdk":"^2.6.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","ffmpeg-static":"^2.5.0","mocha":"^6.1.3","nyc":"13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' && npx mocha 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter text npm run test","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.1.2","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d2229835cdf2f25d28b2c484dc1dcbe4a750b949","_id":"@alexa-games/sfb-f@1.1.2","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-iMEgSfqdNi4HDE3IazbTxzeTFXpfALDf0BXCbvtaA2fM1AShgV0GO8qSjZZUHHOqY5Jx4ok2W/0Tpy5HYRdDhg==","shasum":"cc9073a2595a065e71711b336d549b64d1c4b12a","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.1.2.tgz","fileCount":136,"unpackedSize":9930026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddw6rCRA9TVsSAnZWagAATIIP/RiyRjiBlQJDE7LsD8P4\n7XEgGtiSS+JG7ko/9GimHR1NJhc/5y+ugr9/0SXT7/MHvuphuEeQxftng8Dw\nWSfpftOtcoD0d8cEvgxBYbTILFFy6feZY6hEQmkJn/3h7+Mzf0bCfH2VC2DP\nZbDJh2TwBj/iLDCU6x0vHNDuPIsOLUW2BCpryJZCQt7XNvTl2n4DILwhy0IS\nErUqqls+K5xgD+Y7jbUNadPx6STM/N85pD5j8DdJYbISqy2BzXY6fVbgXrGo\nJ6kF0xxuT4MpPwH5sX2VPudC3WOFXNO2GixSbGz0z7jZIfzgugPGkKZ+njn1\naxlZrtCcQs9j/rw4teyqwsbsmknpiiUFBesLY8/KGLg2/MdVqRHjgY80U2tc\nEOVjst+bO7pQqJu0dmRwwI8F/BdHxh/OzGU5liNPuwXZ4Y3ng5sS76uRqWe3\nhtql5DcOtM+4t/0/LGqm5ogPFwNKzyOOYc0sDSbF2VX6PbttxhjH7ok07gJH\nnpcwwTSp8mcW77jPfrEiiTFhcKDm4wy0GiotsskzZrOp+JA49DzuZq/3XyNn\nzP+ce4BEm7+GfwRLOWqbZV/HNPz7tMGIDLyZymJ2sXOhq2coOYUc8ksJh+0R\nQGZ/Nf62ffWjMmlgApV9yvvzKfkfyhbTnMXY7wn5fxjpn5/atcQ+X9vhYvbF\nCtP3\r\n=Suui\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDd7Rafol19SKRvhzoW2Ic5g+aM2NwCR1MHhl+VsD+IdAiA6JDknOIazfCa39UqmOhGDNXu4R6t3kHOsE4eZ4k6a3w=="}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.1.2_1568083626715_0.8735384722150112"},"_hasShrinkwrap":false},"1.2.0":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"1.2.0","@alexa-games/sfb-util":"1.2.0","ask-sdk":"^2.6.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","ffmpeg-static":"^2.5.0","mocha":"^6.1.3","nyc":"^13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.2.0","keywords":["game","story","Alexa","skill","voice"],"gitHead":"68cbd119a74a104523e5cf44c5da3d8a4c535c6a","_id":"@alexa-games/sfb-f@1.2.0","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-AzLIkPRIOZ3L+lBgrogoEOFbtrhhyWp2wk8oezkGJMPn6PYSjX3UlKsF1C+SlBhr1WFaTapgjW0H+nhFgng4uQ==","shasum":"99011bc0115f35adedf5c597e0f997cda64b838c","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.2.0.tgz","fileCount":163,"unpackedSize":10078951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkoMnCRA9TVsSAnZWagAANqEP/3Sq9I+KWOSqoZHe/41J\nos2uZmaPcH4MEaeXxQ4h8N+qCWRmbMa3JOAeqAJgIZsO78pxIgcBqs6MIhmx\nt/j1T6F0F0/yGV4W9QOV3RT4PH+As0SxMeNH5K6CkwlGzlHB7tT46KNTscsj\ngf7Czs+SakGM2edv/hKzi7tMIZCdJwBsaOMhWBws6F1uzl+lOlZ06rd68tfn\nS+bUPtGtDgjRhdV1SjHkgSgF/CaUHqAO/vHO9J2ypyjC7nfPjZ+MB43G24+s\nXu2TYAPzSQMgCQ5MEOeU8VUopewULgwBm8pu+ne7IwA5Do92jWCYrmyGRQDV\nfv359b8G6EyAJZiAE+UmMsaimNUF7P28ZfmbxaX9AKu01rISH0a4sdaF+PFA\nkgfAI/b2DdzQCZytAnB5fJQ+d/q8NHCKHYCFSBZHwUi09zAiUJlTsFFTktO8\nRrgtZc851VhV5by4kJOM8JP8Kk7Vjw7lusSaM2KF453ggf3mx+F5xNy3oR79\nuAzpEjMTcIrRj/PZeG3MWOnU0IOzvk9bqyvPOS01MrL9obIqtUp+7pRujuX/\n1Avi7+PF/48uesNFQ4YsmMYKHcrMl4L/EnmqgTaa+3QN8enmcJAM6uiQ6UnJ\nHYh3Uwl8WPzmTirYuAVKKE2hpfBrJxzQNneHuq1t4pnuDODWk+ewqJL7KuAX\nncu1\r\n=TJyO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuBxJ+nyyEhp/4+K4JbpX+6T7cr+Adw+9b+uhzj7EE/AiAoIeWeCYqqyECMm1JkhzP+6e2/vToEa5d7oOMuHqfs9g=="}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.2.0_1569882918602_0.33346839170170983"},"_hasShrinkwrap":false},"1.2.1":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"1.2.1","@alexa-games/sfb-util":"1.2.0","ask-sdk":"^2.6.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","ffmpeg-static":"^2.5.0","mocha":"^6.1.3","nyc":"^13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.2.1","keywords":["game","story","Alexa","skill","voice"],"gitHead":"fad2ffb1234b98a65c415f824ef3bdcca074eee7","_id":"@alexa-games/sfb-f@1.2.1","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-/SBkJYvt1ILDX9t1lpKrVvOUAfZEoE9/vQxmj9frmUogipqIroT2rYVLFYVJnDYmhPPvGYRQUEwkIKhvz32GTQ==","shasum":"b9a4be6efd28795361199ad523641b8438b3e9e5","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.2.1.tgz","fileCount":163,"unpackedSize":10079319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqKd2CRA9TVsSAnZWagAAh9kP/jzXSfrd2MjcRfUUANY7\nn83bD+m14rLKlPC0D+0vWCXbDfo4wmIA7B65z+vPYn71VIxT22idgmfwYuD7\n0KMjIY7h2KDVvWfQkHydKQ6B5IXVUnHSnmU7lFAQyoBuSUqytyHdITSorh0a\nYiw8jBfqjFV7y0Wb1/wG5fjuAhzAtYco21xQpY394vUOFrTgNCE5/i5whZqo\nNQz0Oyjts7jjqH2ZrqyhX0luXpLp4qRTsxovw0cR8LJNQKd00FlIIShwzXHW\nGMwF4MnoYUbDuSRpPtROhmgCB8GR5zXfBZVVhVj7qBOHbGAyp8E0AbHjHFjP\nTrFvP0B7dcEliDt6wnFMaIY4TBpTCz/22TZoCV9RK+nNVGcZnfPxzZY6oBYq\nzkXPQLl2+84ovfkgILKxgvNEmWW1XiDEQVCyoQsx/WZqUu141cAc8SIu7M/z\niazlzTFmFlEP0pc5lJ4Re/tE+sNMYWtXxcNQaJ5CVd13r8XvPGEDk/j2NQXI\nTCO6ntukG3cwaYcxbszIADbNptMxoWsshOdKe6wTdGyQlRg9c722cWG8MTNT\nwA+NmZQ92I6SpbU+Q5IyJqmpE71jVZzS1FFGUY8BSqtCBfiHR6RzlqkSfsA1\ncqZSAizrEbkdo5+nChri/l2HwEArVjo7BRuhSsZu0vIAM1K4mUoqg8YnNSXs\nA0cz\r\n=KaOI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnQZvl5ZpYJeZOosJjpuojHgyPoCLPDAjKOmzav7IDiQIhAPpp8tUJgaPO1K7beffA1hPTfREZPGoYujXvJ7dMlC+L"}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.2.1_1571334005864_0.3590731270886178"},"_hasShrinkwrap":false},"1.3.0":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"1.3.0","@alexa-games/sfb-util":"1.3.0","ask-sdk":"^2.6.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","ffmpeg-static":"^2.5.0","mocha":"^6.1.3","nyc":"^13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.3.0","keywords":["game","story","Alexa","skill","voice"],"gitHead":"e40f094c3d1224f64f44bea979844f7bdeafbbae","_id":"@alexa-games/sfb-f@1.3.0","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.18.4/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-2q0898KqknWsqi4mH789hwV17g61EMCpCq0c/G2swg8xinam2DttVdQ8HFwMCeL44llBnhuKCPaYzVifuie/bQ==","shasum":"31e6d8294086f0c0a9b3479e933b21c5ea5baf2d","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.3.0.tgz","fileCount":181,"unpackedSize":10143032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3GJUCRA9TVsSAnZWagAAllwP/ijRNSz/aqW3vvzJDFzz\nh7/1bdGi4Hk21yRHXLtZOE928LdwkiGSJUwPLXoeveY4nm0J/KlMcTYQMxmt\nmQFuc/vMQFzXFcEOr3UQRaTKSHMb+XbzXi/z8fMEy2LOsWTTZM0ogM31pWev\n6+jClf3NSQLqzRQIgjrlVRkMqnLCoy+4ErcO+wCXC+eW7QKE0MvstbbG4lAJ\nUuMCSLFujx7NiK1uVaILYHV9oy885xu9AWTIbAMb4wuaQoN9OLxjhvJVijDF\nNKiuVMu+93HTPGK6KE4JZwZuF543gQjXQyUcYhQNEd6JFIZoV4j2GkeJ5fRg\nkgdE4/auwCmcU+OiRZ5zXH52zXIdcEFDL5TQoUypZqdEjXG0CBcDGLLCdxIw\nVT6V5VpQ1GDl6CXcQqVhvG5NUHGCVihdzZcSDYMOQwO4XuecBCXnuSO7oe/d\nOMAknkoCLlv40nNTCroy4PI001RP+gUUvHg748vASoPXYT8mQWtn4NE94Ydc\nj5FR+U6Ap6LKf+p1WJUkpYeNb5FHt8pm/fvlqaPEmDb6X5noOvoIW1Lnu/OI\ngqbnI0/4MjrFon8qy7SQDFCr4Rt2u2RL22ymydZQWbUUqV9UnuO3VNMB1wFK\nBARba7PCLpib3fHUO3jMjhbSf8F9FgwYENbN1b+ZD9M7HOMLU8uvI9W/cUg/\nrOkh\r\n=FwId\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcHdcC3WmI1md4NVKqVWgnqrQotTMvnSElK+JYLVPC/AiEA3Fe0Be74qwVL+W5ZHMY6F9hRStFQX+kreflYJ/pQRN8="}]},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"ptidwell_amz","email":"ptidwel@amazon.com"}],"_npmUser":{"name":"ptidwell_amz","email":"ptidwel@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.3.0_1574724179877_0.7110250209075804"},"_hasShrinkwrap":false},"1.3.1":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"1.3.1","@alexa-games/sfb-util":"1.3.1","ask-sdk":"^2.6.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","ffmpeg-static":"^2.5.0","mocha":"^6.1.3","nyc":"^13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.3.1","keywords":["game","story","Alexa","skill","voice"],"gitHead":"65f3569b2c7255834392517f4868a2c4a1a3266e","_id":"@alexa-games/sfb-f@1.3.1","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (win32)","dist":{"integrity":"sha512-vShnlaRW+oSMGtXfCu5dQ3CUGvy4AxbPgYijHQ4yXbnEz+Vk3ZyuiRyXsU4sXlbx7gMVhbyZjaHdq7FZ8gQaLQ==","shasum":"d54b1019294bf9bde0c803e5df4b6f0d74bbf47a","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.3.1.tgz","fileCount":181,"unpackedSize":10227452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5w3DCRA9TVsSAnZWagAArPgP/jRlAtL2e3mM+i87XMyz\n8UivjRaRosCCVrkhYjG1z1xI150JhxNqSB6ftOzI1c5/5GCQXEqA2ifQxnEf\nvc0An3lqTadWu5Sga5wOK4oHY9Eyl9FTZFXEvA2FzefN02TG5/5FRfKj2YME\npmVnssZUNTIONywXFBFJ8JKLysQw5HLOMWCF6BvD6tw6UFOX+qRFu1lIGzGh\nOEJXDZowU356iT7zw6BGZ7TF/ug+/dTSGzh5ehrj6rw2SGiqMvejb+msvAzw\n4bhijgRyLMrwuI2kYh7TFOJdNZX6cijCkrYIZ6AY0QrooP8EzCoQCxvEo2hp\nJ2g0zpDE5lZP6chLQ00PrKO/ADnUJ3Gd+sIsMpZyYIcHwP/X/D1ldpo2+90q\nGYPpwlLu5aL0o6dZzWUWY+AHPNjo7vGA+rIxFOg2hv/rfn0VkSYyHIP0A2my\niUeQVxH/qgAGAQF/udRDEOoyhfPRb++1kzYwN8wsBAODIS2wkob8C6uk9tlW\nL2ov6afciCuXfdFfCVooDHDBRSgjYlspnFANcWcl7JW3jDp9Q1qL6Q+oV9Df\n5C27JgYGkmQVzb0C8bEn6RY/Alsky32h1c0Nm9BowchArRvSuzgMyTZa/69P\nTkqsGi4lPrlfmQ60sfIMKd/lCLcffjU/KazEOSad6ukKm0D9F7pNxn6ee7TD\nVH1g\r\n=DP7c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDndiLjwlftcveW1JKDk8rA58if2tnsb4+VfRPbI7xJdQIhAN0E7Q3v+ApAOWQBErMdYo3OcnCpCIOvwKjNRTT6o1WG"}]},"maintainers":[{"email":"alexa-games-npm-admins@amazon.com","name":"alexa-games-admin"},{"email":"alexa-games-npm-builder@amazon.com","name":"alexa-games-builder"},{"email":"wangdani@amazon.com","name":"danielwangamzn"},{"email":"larpente@amazon.com","name":"larpente_amzn"}],"_npmUser":{"name":"larpente_amzn","email":"larpente@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.3.1_1575423427125_0.8744378752187283"},"_hasShrinkwrap":false},"1.3.3":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"1.3.3","@alexa-games/sfb-util":"1.3.3","ask-sdk":"^2.6.0"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","ffmpeg-static":"^2.5.0","mocha":"^6.1.3","nyc":"^13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.3.3","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adad3affd0fdf76eae82eced4e8d2c2923da58d0","_id":"@alexa-games/sfb-f@1.3.3","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.19.0/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-JSu/o+XxZfbNXoLooH+zCgGMT0L1T5O9x3E+JBbMyE1e+08XSHtJsxyX8Fj3jV8vL7K1+1R3c4eYM0Qc4+ENPA==","shasum":"15596d82435c16098e2debbcce2cd15871c72484","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.3.3.tgz","fileCount":181,"unpackedSize":10145245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGR+KCRA9TVsSAnZWagAA7NQP/2Epc3V9NwkMAgdfytw0\nck8Je9RIpkvUVm9NyHd55sKrHzQCNE5HLChIWT5O+GkhAuIb2Wx9eEDc5lrM\ntc1frTkX9MEPeGxvB06lvWCHy3VCwgjjs2jk7+8hxIy/r/PBa/kywwYMwfxI\nMLyFI0EPT2nBsURRtJzpj/kcwACn4Z8/07i/f0srJrQzJ95E2Lr4fcgCpEw/\npjVD8rXAskBeBs52ZAaazrxUiTT6I35PxiqoPJ89/MGnWwmx0e+1a041w782\nNyO4BoKQNnClnltwfWEgozZZXFOv9ImnWGY4dNggbzs1Zoyv1ycfigwpJSNC\nf8469bzcRvT8oUQLEIu7zmmuZmFM6LCOLicxh4fC5b8gVueSFIu/diG8r5ob\n1qc5kTPOq3gdlMeYnlOTxUbsDoeZalNks9Ocddm81/RR7RJzqyCBnBXFYdqK\nliB5ftBCEbvneLhQV6Y0THxuwcZ6FUjp1p7+bHe4qAwx16q5hApsHHEXyXcT\nAqCe8Kk4AHF/lDk89ewrkA/beodVTFrGdygWXvD8TKGxB/ALJnn6w0t2+tLU\neQxNHNnM1rG9Ura/Ws7ElIngNJ67yvpQg4JxAzuhJ85JCXLqYktMd/EF5wR4\n2R4YxfLHcBx/Ds1bn7JHNN2YEUdwoSOsMd0QWQGP0dkX1lsdPhcYITuiSMyD\nWKCN\r\n=eNuv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCV3DXH1PgvrcCusUFe2GaTq78LZ+UgeJbJEWMHDr0xZwIgN1b7OjzSKSXJ5ZyzEKglRrJN3NVl2ep/MnekenCZVHs="}]},"maintainers":[{"email":"alexa-games-npm-admins@amazon.com","name":"alexa-games-admin"},{"email":"alexa-games-npm-builder@amazon.com","name":"alexa-games-builder"},{"email":"wangdani@amazon.com","name":"danielwangamzn"},{"email":"larpente@amazon.com","name":"larpente_amzn"}],"_npmUser":{"name":"larpente_amzn","email":"larpente@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.3.3_1578704778321_0.5246290998172436"},"_hasShrinkwrap":false},"1.3.4":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"Amazon Software License","dependencies":{"@alexa-games/sfb-polly":"1.3.4","@alexa-games/sfb-util":"1.3.3","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","ffmpeg-static":"latest","mocha":"^6.1.3","nyc":"^13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"1.3.4","keywords":["game","story","Alexa","skill","voice"],"gitHead":"f126bc1cab05915868e46e28e7d5871d3ab4435a","_id":"@alexa-games/sfb-f@1.3.4","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.22.0/node@v10.17.0+x64 (darwin)","dist":{"integrity":"sha512-1uejWYvaUUBfu5w6+TuHfpOu28Wg03XnRXDiNJsKiHayVa25N5NMF7RkaYXCrMsLSe+Lp/v65zHS7zwtHNXO1g==","shasum":"63ff939fdbe09804a6d3025cab3c7114a17adcc4","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-1.3.4.tgz","fileCount":181,"unpackedSize":10163908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezu1WCRA9TVsSAnZWagAAB1oP/i2MF2nOehyVjuFN9NuC\n2lRfKmc8zHry/LEfLWKh7q8+qw/9DGvWKf0i4ahkozTEDn2mQH4gIJ8rQt0B\nMFwv6yl0aDbZKM0q4toP5fFdaYCh6/pguLdtkoY/hSfVyBuNsu/q6bqAoFDH\nZoH9D+8zKF9toNNalTaDAebKysEwOuFfE1W3wjBZ3NEbdW2IczkB40cUCVxW\nHp/6Vt/x/T4c0tQvObLTY1M3WG5hQhLal/vwfONNqk7smrrJYNu+/EV8hCwc\nJcq6vloEhFO4Nn+Z0GqbP3WWmYvRC5JzgQGxcwtH8BMtKX+tguXrscVQjMxd\nYz7puqBja0GPTvuADSdE80Eexf4cim2lBx5pRMml+pd09GRXob+gzdQ9Z9Yn\nkWEOnsqNkTo4JfjRzilEfjWLMRVZvxCNTXgo2edv/A+TzkxVaJTPSA2GQw8i\nWVhDK+Tld9E9J9zF9i6LTta/BASCYnkYa4gUjesNa19dFm3K8CLviPOW9PZI\nh45HzwMiwlsqSd6FUt6+40P0ZzIG3R9p8G0rF4qJUjj1gyrDiq2j9myYTIaQ\n6SNUJc69zHOC0CIRV5BH5WYvvRs3Dab+y7jkpsmz3DVa+UBGslquHlTlP3V9\n/mi7TbZTBwnp7hP5Om+q5QFtI3NP/aE6TePZJ2iGmxItrzSsnf7L1H9EmKTx\nqm8b\r\n=A8g0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxoMyvla19GRc179YNXPGj6hm0z4xspbq7OnBWqvQElQIgJYJvrgpvhnk0n00iFJeNlwCiyUzkT0EhhxPZwqz2Jog="}]},"maintainers":[{"email":"alexa-games-npm-admins@amazon.com","name":"alexa-games-admin"},{"email":"alexa-games-npm-builder@amazon.com","name":"alexa-games-builder"},{"email":"afanzio@amazon.com","name":"anthonyfazio"},{"email":"cvalliap@gmail.com","name":"cvalliap"},{"email":"wangdani@amazon.com","name":"danielwangamzn"},{"email":"larpente@amazon.com","name":"larpente_amzn"}],"_npmUser":{"name":"anthonyfazio","email":"afanzio@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_1.3.4_1590619477725_0.5246674486902754"},"_hasShrinkwrap":false},"2.0.0":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^13.3.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.0","keywords":["game","story","Alexa","skill","voice"],"gitHead":"60552e6252f4d7aa3d4772a930369d29cd106949","_id":"@alexa-games/sfb-f@2.0.0","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-B3NCY1owSaQDCdCL5rUpunk9+mrsCIRcbPxJONhRzo4GSX/dKB5gcoBokZllS9lLvzb+0nWSxud5AuPHcVDjaQ==","shasum":"4c544d40ff21895a5e267dfa80ac7896e18acc97","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.0.tgz","fileCount":181,"unpackedSize":10223575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhJNeCRA9TVsSAnZWagAA/W0P/2qHkXV34SeUGkrITjwB\nY/HpEdqBN332aT/YLi7YaWIfE6hvMZGIOf/BJvMBEH6HuZKWCsJ15Yb7prfT\n7BMkVDh9dAve5BKajQAuBEpMm7sauL7Zip+x3vGmRf32KVTfaz+yLlgohby/\n/It5GXNZfMjY2msyZ28VuDZ9tt0UQNy8zjqLqhoJGDlW1ILQdi8ub/w8hNDV\nAqtmns1ajwmes2RGVfbzUV5WZ6K/tC2O06mQQQHN9h7fVQtYsqZBJArTNfBA\nd1/7NeHY9bNOiZOPRgRXLJIubx795zJMyJpS3/WsxPJ20eB+6uRg8J3Fl6r0\nIIvm1nE3pNx0x5CUGD1jk+CFk9kuoAFkhuOGDINos6iTwgSFeRipZf10d2hM\nw2zw2doSNe9ODFs77f7epYsAqPogltyEUHeW1iZ/VJVe2VlwxSjdxprupsL3\nOI39ka86jWas2a39Vjl4YOM/1+SXnQOnWEISaXiqI4fUiFBadtgq8KgAfx4u\nACHefb8Z1AVJpv8gFfr90rc2hFj6h/MEDc/Z/++LyVg7V9TmWzXq15t8j0Qu\n3lyB6cHcIg2Dt7MnehFAhHUxiWQgHm7RPX8Ph76wGREJQ0HYx27Qe+g2YH+k\nPoAuPrDOTwGkPiw2Wav3Krih7m3005qINXQUptKjiy4SsnvokapHOUjMlozQ\nr9k9\r\n=Wsz2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx4weeBG1KNCWs8zV45sCfbg6TKz34t5d6I9TAm8M6zQIgB/A+BXudmv+c9POaEk6LiOPBbz2ee9SN77GKFOqedPw="}]},"maintainers":[{"name":"anthonyfazio","email":"afanzio@amazon.com"},{"name":"cvalliap","email":"cvalliap@gmail.com"},{"name":"larpente_amzn","email":"larpente@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmUser":{"name":"anthonyfazio","email":"afanzio@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.0_1602523997645_0.04970823869698404"},"_hasShrinkwrap":false},"2.0.1-nightly.191290864.8":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.191290864.8+6a0a963","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.191290864.8","keywords":["game","story","Alexa","skill","voice"],"gitHead":"6a0a96350a3ddbe006a5af15972ee5ac69eabe1b","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.191290864.8","_nodeVersion":"10.22.1","_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (darwin)","dist":{"integrity":"sha512-e84nTBp2gcTHxyvhnjWsnJN8Q1514Zv8voU8qFjTimvjm1ud7X6QDeq316NmSxAtGzkpon6uV9+qsIrMH/f4IQ==","shasum":"b42749d8406b02bc6b87989e717715134d51aa7c","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.191290864.8.tgz","fileCount":181,"unpackedSize":10223646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfj23dCRA9TVsSAnZWagAAG/wP/j/MvYs2Svg13tNOLpWV\nVBK8bK2lEfHTwekNR+weT01JmRBnMoYs1Q+Q5cNtp9o0Y/TjJ3Z3u98X/oE6\nR8vdd9mpijpgV4l/d9e8rCZ6eMQ9ZSVLT9zrxNBH5ZC84HswSgAfy4y1E93x\nBEeErr0YSNvNCoNxD5ZVKTq37vRN3Du5XC7fRER87acIc4xlyUeMY42TPRO9\n+x6D43Uu5pmIRFdcHnEqoXYDBrkF4yW9mVuRxe17Nt72fEpAXs9vM+XzpMAm\nSTapkTvir/UnHskBKvG+6NprrJ+vzg4pUbudMlTopgu+DiWtFKtQJBEdlloJ\nKJrtVWBAy/JdRR9PcrJzRlavrTUfjxDdy76zVPYq8G50WZ9xj0LvD8lyLnr1\n6cBmQoqRga/zNw4QHESkqNeagy0eeOQszfGm54j3MT0sndad0tLUH90UBmAO\nf4cogeGLN3ITePpkGJ/qricVlxE7b0VbxPCyQMF2yTqUWsEOdo8F9MNDjKRV\nB5cRiHxBZt8V53Q9Rhfdu4KKVfZtQLEA3ZiPgArKYARNpQu9Y7Bzp0+Fk86P\nx7NnG/Lgp5K8UJZTyDfDHbEbfeg9QM8cTHj3czfZ2uJQFptO+vYVkiN0ddjC\nS5J7gJtDt1cLPoUi0sgm99pwUEHI6lgxjhQ9i2Vff3cV4pIQpj85h1PKZ/qC\n1T3P\r\n=L9PQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9CT89Pu6wVtDKvIQaulaXSc4RvCspXAMIvP28jH5kdgIgVRmT53ZuIoNODGanjRo+rJhS3G58f5OjD3pAo5iRaP0="}]},"maintainers":[{"name":"anthonyfazio","email":"afanzio@amazon.com"},{"name":"cvalliap","email":"cvalliap@gmail.com"},{"name":"larpente_amzn","email":"larpente@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.191290864.8_1603235293450_0.24979203967607555"},"_hasShrinkwrap":false},"2.0.1-nightly.191551805.8":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.191551805.8+6a0a963","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.191551805.8","keywords":["game","story","Alexa","skill","voice"],"gitHead":"6a0a96350a3ddbe006a5af15972ee5ac69eabe1b","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.191551805.8","_nodeVersion":"10.22.1","_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (darwin)","dist":{"integrity":"sha512-bqZPJYxtJ8jC0wUV5e6hxTG9REwLVkDs27tzNHrKUrlb6Jk4ZThrFCwoVNP1vDcmiMhL2ln6qIMEBI5QiCUbnw==","shasum":"81515a58c483d5a98363da7e4028f56c8f17d1ea","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.191551805.8.tgz","fileCount":181,"unpackedSize":10223646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkL95CRA9TVsSAnZWagAAvI4P/1ns/rdsSdAbmMIbmkSR\nzc9XCiG9tW8iQgZmcgE2WphWHSrwSvLicJ8L1G89GVxLGi/NEjv55C/CXTGA\nUILhUKm+qA4L7pbqYowJ7iyI/J7DijlXMgFBiypY5yuCrEhVj6CP7OuCMc81\nzGu1d5L2lTM1lMSgjkUceorT4HVPbmJDkX03u/r7dwKvq1MSOJgP7PaYgKjl\nq1dEceHY8/kg/lo//myGVproWO1UxO8NiDotT8Ow4+fmfa3NpI4sGerbaT9o\nKB70FkxQzEC9YoexBEiEbB2B6fkTMBKj6pYZoJD7o1DZHVgX2kNHF4EIkPBW\nusg05a7rS9MCRNKFN2noftQPccf5xRRuXNr8UUPPixzuooaGd9ZsuMmaXiVV\nJze/+vdo0WdL+5ih4tSIasomn9h6wkUAHv0brLwF4fiQJX0lI+xaUGgFsGB/\nulxzuaqqD6Pf/ni+q0pZjQ+WNz0BdM0I2pZBK8bzWCgVxey6hwXNMAaMj+jc\nDDwGKyzcX+C94Sp1OOrEtEwFF5hcywortXZhk37AJaCqzX8Jtx83mRW8qGOk\nbw+CSXxRRLGVtedVVJyEk9wlFD2Q5xeV/zpHYMVDVPMtB/PAswZkJsT3+MZB\n95PJO0/MD4qGuJy+slgT4lMCCDuHEGDjTE98FP2lf6pPdnes99MxnIA3dIL4\nSB6o\r\n=xLyl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnuRFxGDBlxaB1RrDB7w0bl1tVT5SmJeODbfxBq3jryQIhAOmObQjvFF9h27fyAz1HppFRYM2HxNTeKed1CWRboEgy"}]},"maintainers":[{"name":"anthonyfazio","email":"afanzio@amazon.com"},{"name":"cvalliap","email":"cvalliap@gmail.com"},{"name":"larpente_amzn","email":"larpente@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},{"name":"danielwangamzn","email":"wangdani@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builder@amazon.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.191551805.8_1603321720899_0.4441871087251228"},"_hasShrinkwrap":false},"2.0.1-nightly.203679785.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.203679785.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.203679785.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-Bw6iVO4mOitBkjA7vUvg/6qJgu0JK9csX1DmqazsU99SqOdjJnOHXfqCbH+6s5X22/9zaYyW3wiFEkJIQ88EWA==","shasum":"625a3a3fa117f4f8db2e2bd2df36defc82349a42","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.203679785.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvFFFCRA9TVsSAnZWagAAb3UQAKRopG+g31ht4cqkisJJ\n2sdyLfOd1qlEiaVxgPGY1Chew4hcyOAvl/b6FWOa0FdFkCb1IE8eLbmVt0DJ\nnLEkUgJ5ZkqoTd94sopoOHb7TFAI5HedN4Fl7RS0Kyna6ArgjrNIh0YE+qDG\n7ZsMCgfhqeLkQUIR+2A+NSfvwec3UXPEG2qXRWZYOsbYfsGnfSRyq/5y5iEr\n6V0Epj9aC+aUwSzLJ3PnHIZfvMbg8fX1yoX80UADcoy13fknFNKSSDDUUvto\n523QUXfLJXmvfg+Gjhyn88mAw12Mc3p+icqOKIOHX4R40BFq54J5N8LYMY9u\nn02NoGd7p4AZhhW1hpBSN7YTY4zPl3ahAz5eq2tQ4nfx/TdlvscjIu2VdaXE\nrJDiQIscbwh5Bd/L/Z5KQYasWG8FkEwmi1mGXbwMAgaF3DJliC39LiHAMSoN\nhZWn0Lnzok5wG7IvChh9r3Xs5Ca4Ih1RJvjGANm/GZHy7IFmPM9MAw42yMFT\n8a1uz4oStf338H4Z7cJMtO6mko3f2VjY3DEeRiYTe9ICUt4QMKA/Ld0EGEF6\n2GOvdE1jn6gDeI29/nGKhFBW0WWBynLSy7qwxRnxGCo6GEsVJ7mqWga7VO2O\nLBhhTw6TvwGwY+a+3Grq3eAebebOR3afCloEMcDF3zRp16WduliHcu8Zp9WH\nW32n\r\n=uz4z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDT2vNjU1c2pCs4cA7ZELSEqNtdyhNPY097UrfVqW/gpwIgHiPkD58kccFIpSmXHCTC43pcrqFnNMG2jMAcOn7MveQ="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.203679785.15_1606177092725_0.524795411478769"},"_hasShrinkwrap":false},"2.0.1-nightly.203993240.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.203993240.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.203993240.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-L2AHSFlnASMhltsfER4Z0vP0zxf0BoMa6uoLnYpyshxF8AZtOJb+bWxSy5MfRqN3kZSuVwAC1px5x/aMZ2euLw==","shasum":"7c3be00d999c8575df825a02f8ba9b617679d0d1","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.203993240.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvZVRCRA9TVsSAnZWagAApfcQAJ8GPDbJsGAS9dpUF0X7\nhmiw7jpUqz40Hu1bavgbg28S0jZNsiXAUUkCstMyjlnlbks8D56SQ1kAvHWD\n3aB12g6k43+bPPM6SrcjtvbK8Bv3G/yfdSbRvl9UAwXpfGL892FYlQJ4/Rro\ne2AwQ+aL5AQ7T6hkU8j+OPxtuJfRkex0/PUj1MUlQIwU0CCUN3Gwy2tv3aKc\nOS0hIH1/vYG1Ul2nq1CFGvYgLjQhiGJsjpq4q8xKtT0pxezMQt1fyBXZvnxc\n1P9Fbcl0xBB003/1nBcZhjy/2JzAz+eDPsIpHGFSQS9/Jt3MlnBN5UHXW7D3\nU6NUfinqfU7y3sEO6TMpx1t7jB3s0aG4KHwsoQc3jYK9zfEX+lrljtnyt1g3\n3quJUPIqQlH5db49XbX9vv4g4hIoB50s9fQlRSu87qf8yfsgVihlb0JyltmS\n+5wOgfiLc9q6cIuAMt/xPMYHqmCjjj6+VkiIHFVeSuds72UjDpE5LfEU/o2m\nMA80LE2zVqGNCymySta9PxTK24p7I2ls2B1kmRT6KRnges1QOMIpoZBELfap\nVMpeIjQI/rCYmc7P95OUfG5Ot7srkEmWa4XctPfzP0FzUaPW3YR4Z9SCUsOW\nJu4akNqWOHlUdAzx6oFQV8UhsGapRSVxh/Q7qEt/qmByainz8m6IUCOgPdM4\n73YT\r\n=sHRH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVWtBzA0lqzDKFMzG1QlVk/kc3AQAAGz1UzGXIWERALAIgb8614vJ9urJKF9zcNJT+ZpL3y4933HF1xKM0+dnBDXw="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.203993240.15_1606260047982_0.7685154938644871"},"_hasShrinkwrap":false},"2.0.1-nightly.204529068.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.204529068.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.204529068.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-V1/2eBKHCZMa/0VCll60R0AgV9Ea8XdSYwimasuO+MyxjnBiyPc2vPlEplbSq1Dv121U04rm7sxRvSpBvtJk0A==","shasum":"d1aa8c22688de372a4e66f55696081c3840ecf37","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.204529068.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvucHCRA9TVsSAnZWagAAaGMP/iWpYcxfse3CLYgji+qJ\nn2xM8XAYmg2P/cQO2HTkBsS85qIsOOqdw9ycHwUnEureokm59CaklhOmP0xI\ncwYjZQRpk1akq7H6+3UEnDqRq3b0om/igHLH32U58Wmw4k13n3Vrc5rlycgp\nO0ojB0kTSjTlUXJb1f+xNuuBgL9XK9NwQ8KrWVtgrXcbsSg2H03z85rdSjRS\na2awm07+7bmwY8rZo0A8sF6sA/z65+3OUrDa9+rC+jJunPpBBoe95ypBJ2aH\nlncyGm9Nd2+8w2yWzgcL+J0AME2cPp6JqFPSqlnTj9F+HG3gjSE+6A6lMd45\nY3aFQFZ6hT08S1Koc9vK4JgRRZXKMtncCWDgHZCrVAKYqc2/tTUZFZAApaPP\nP+yzjxNoyqAio2QR4iq7yRYhXEWGu4OcjeiOlwUFh+KQEiUE0wTl1LuvSQIa\nVLTXdaeZAmlD7xKgqWVJ7LgUpnDVdRdFVmXRHoruEqhVv0QyxJrkO70pEd0T\n2v9hzF01+gSwLATjOWoEfhb7CA8wX6hI7Yz7r5YlmqSew/00mgg4AqgQijZB\n6NcWO3QPkvk2GSlKGKw4AZwTyLQiL4jOQxpBKGVWWh/U/NzwIccldIK1b71Z\nVxV3E7gqgfKQVhJIRa7bQgbf2aQNmF1WkAbzfMb2mHuhGCDcNTDoR4J2pmOC\n8/ka\r\n=OsYc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAuJ0ELnp1JBhYYfTibzXjqjHRrvD4tJwLlMJ201W57dAiEA9LS38DBaKSxw1rw0Dns3E2sKuHig2WvEm214A8rAzLs="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.204529068.15_1606346502831_0.9282392213855679"},"_hasShrinkwrap":false},"2.0.1-nightly.204790339.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.204790339.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.204790339.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-9HO71F4ShsDPTFVC2IyAAqPMqJL7A5/cNi2HYhvScv6qfcu1UvU/L+yFnxRO8hnYHfZhLQiSVQ1XXcerUGRTmg==","shasum":"374c42895376018bf262c4dc8d4c1c972001caaa","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.204790339.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwDiaCRA9TVsSAnZWagAAXycP/2aVRJ4iDgyZrzLc46P8\n39JnL4OilHXG1OkdwRi9jDdzJ8FBOhT50V9yQl0tYbY11Rf36UWwa+/z3DA7\npnojxwJoI5p6OFJVwj7Bs0/sA0n1IYfTnAd334OnK/Irp8jxwDcJ/umkgvA7\nKe40sEVB5xxx9tFvtb1pHvE3oazfhZvKt7q08zAUiKzmCIYeuc8muH74cq8r\nSJ187ks8OkO4Prgxbb/+xcpG/9II5E+lvtU8H8IMgp61a8THKArmjPUihjrr\npLd5kUYkDZ500qQcSxKu/m9ae0+rID5b0+iNPAn2hdgSmwvqaIEtyYyrH6fc\n3w1R/pTBUzWgcRl6YiSrze1nLeMqG08+aJ66xmdpa/YgAObZD2O/p6RjpBwQ\nOezhJLTs/IIvkJYYnb8hhkNWKPsTUf0i4pbw9UWdMOl9PxQ0rN/iQfdRo9E2\n0G97S9g9DgFG4YyoBEzp8nBRe5UAJLZ+9KUqe4Gn7YYB5mmuDuzJnbWg+Qgr\n3xvAwwiDDC3I4k897AXawmJWpX9sg/Ajef9bae2PurN5519RknKj8J7l53J5\nKZX/RTVpzQLCm62jUWsNNKR9vO5e4GzcSR7s3zDFIb3G2xKycUVYEa4Wn2+2\nY/VLBNsH5093DlqjC9caJ1J5eJdWuyhoXMTof0TUb96mSA4Qjkf7hc1BEQHv\nSuVX\r\n=04oO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXxJj3wQRXuOTT3HXzRBG0LIqvPFqgz33oMvRaSZ99wAIgTRdJuB0dkmEX5QsBOVun0APTJQNMTfOC39ymbIrPbY8="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.204790339.15_1606432922259_0.8428746327010384"},"_hasShrinkwrap":false},"2.0.1-nightly.204993531.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.204993531.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.204993531.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-RS+ZltxdFx8H2s59efn3DVgiSxvzBwZnNIbMWwMjNMGA7Mm7w7eWWF87B2D07MNW+ptJcqH+5P2zD1M266RpnA==","shasum":"38e7f73adb7dd05bc017ffafe9ef9565c3587670","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.204993531.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwYpoCRA9TVsSAnZWagAAjaYP/3vyCi9wJX7pYMnIOBqh\nFB6FTyc6K1TGJ7obac8rDxKG31ZM+Q/MchN+0f84wfcyAXzoMxPiMONlhIA+\n60UIdQdNpFkvUSRAzuQO2z6+v3l/4xYIdFqWoq3t6WAqJcHX3rsK4/8BXL6a\n0+J16KABzRlhR/WUtnB7UxI9NedRaIn3PjXeVE0y1VgqfhmVdbMoXoqbpbx9\nwaYTl0C/OeD5qZ/L2QLdWzEF+CxMKb5ALgZDw2Nrk0Br10yE2//yH9iFxsWV\nWfu+db/RUmpNlquWMNU7F5fj2GwXxm8KrAXeFR56zirnE4lJFIn4C7O0PWtj\nNIEh9304LhR/g2mkIsdhkxPffPQga0Gksd1bxwLqPlVEWTdQK484e6pdnl9a\npMWnmCLQ0EjSEHpZr81/W1sci7XMrkEPHppCdrqxRLAM++4Ic+gIP5SCE//G\n9D0fXrP1/b7874bcq7wteELDFLCAohAwtj+LhMSfS77CodLrxUKKZy0F7ls+\ntYa8kWP08UQROAkNt1G/XJ/r10KZH/6M7WfizqFCXUZRHTrkWqj8re4Pw47g\nHxkd0zXEH/cP1u8f4QDkxOV5bwMRJWxS3KbxGoXzSxyL8NulwRnNgnhax1Ii\n/1VYGlhpW6qZ65+UFHmMX6loEpJQv1cbS5H2F2sihfT3eQ/9d1559BcesRrt\niqsr\r\n=/wDi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICs7b3gBEWJzXHAIN04gL0PdUMnE+WNIsHFUDPwju03yAiEAsumhHDWHAIVd0bcMR6PTh1vlB1bxPWT1GvTK2XYLK6c="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.204993531.15_1606519399405_0.4274834460224288"},"_hasShrinkwrap":false},"2.0.1-nightly.205066779.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.205066779.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.205066779.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-JeR4wSMv+TEm+hNKP/ABWBzMQio4ItGpgU2znwvgB0+VvXZi6/m1/SyF3Muk9TgXrEpHir3noOywMkA5pa91QQ==","shasum":"a469992eefb5f514837a930d77bd3b3db76910e1","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.205066779.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwtzDCRA9TVsSAnZWagAA760P/jPOpN1j1r3+7PrMaxUB\nWarh9fpX5elyKwXIRv7SRY9uKx8gopRadJk/J/KB8uld4rCcbdKjbZISZVWi\nwC4zNsCaMONKrAEQ9BmzeL7dHoCsx4Vs+xMr4YwNEgbhVqPHAy8tEb0vMx0t\nu6FKE0G3aR+psBbiiNnQgUWrqkCVUQXu+GtijDZQ8ZBdrjIuAI9QsFiPZqCl\ndhlUxfiM0OnDXZgfUpwu6Wpx2+0sILzi3Xtecal0PSIAr5isBeCNz4LxFUt8\npS+ycUnJKKJZSyw2LsobNtmlepMvoKdUTFMsA9swnKkKs4OnNM9gDsLFy4nY\nE6W4tmrG1Elmb7gNiD1GOwQECsnxV6y8Yqx9nstyPEnLF4rjdy+jUzXnoNY4\nSx0QvoS2GVg6m+PaypL5xrsqeFeZkHyt/So0ze6fDLY7J7NFVwZ+XhJ+wYu0\najOCt2opCV20WxQY06XqWiqmzV1PQJIfOWYwcMkwkpPKtX9/fORn/weLaHxo\nNfqDgkEzWONh2pd9VJ8suPfeR0H/tbLdvIGj07tEeTT5XX8SDClpyt1oCYnq\nulVagF/n7d+VXLQXFAyCBej+1mVG/AzQ31asXcCwFqpZLlIGJI3IpqH1ZMoZ\n5XBdp1CLGK83u/+WYLpObYUd2PSUL6sRxAxhmYvdkesSeHWAeogKGZ6PHxPo\n3Oph\r\n=IuvU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCT8RpAX96IsFqOMSMx+lLNVmdcLq24LKqx03P73FdglgIhAJUTwPofyg0hznUYsbfvWbaIhmCOIEK25E4BNk1X8zzG"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.205066779.15_1606606018837_0.3619628709619602"},"_hasShrinkwrap":false},"2.0.1-nightly.205225457.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.205225457.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.205225457.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-Ja77HqaLGQfE6a7r3ngdZfgMhYTl6Vsrbm4mMWZaWzwmib1RYJUGrDivxLKd/H7Y05g7A3R4kfUYpVLecuFIvw==","shasum":"57f7c64aaf25a5f056a304062fabe3e7519901e0","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.205225457.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxC3FCRA9TVsSAnZWagAA2GcP/A/5Qu0Qrr3gO1sPxOMG\ndyjTT1FPMq8cxMb9NQ0IXmm0UxrWpBmfzPOnP5yzS5bPTA2OdQ3Oy1UU0/hS\n8LlLz+Rw6GfE6rhysix8PtYDJZJc/DhcA/qWBwPhUqYQ0maHyxBgoJR8ZQ4N\na2vyI1Jtx9oE1k3io0d9ysHME1x23dXflC8AaHcRFj6cJxK4AtqwK6F7rrEh\nzT/5X6tzcE/XRE/WBLYsJz9WeFQKxnLbYGc6e8xca82QAW7ker6c0BvCYEIz\nudtDxklLnDQBpunmkWE8kjoBb9OhPUWv2xUUWv6/fOFiWdziTWmegPraLQb4\nTpY63ckB4/Z8Q0/44a0O0EFAOIlq7FHeNxhAFsyvAGgV4LQMcBk0TpLxmwfO\nbdCTulI3an4RVssLFWmmMAewZb1i1FJYtkn1jx7RFp8Cl47FzcqnRIc6jmAC\n6bdAZ0vSwUS8pMzoEhOuTo+JTlN+rcBG5afr27bu98YhdE9GIpmtb57MuU3C\nR4vUr/Lzpry76PEWmKOjYiflV7AMnGp7AXCwKCI+BJ7dR7mqmLz5/qQuoluG\n8OiFuM972y18EerCnCecKuMFnjS5OSkOGI0rTrJgIGkOpr515QjLVMgUCgUC\nG0cpW1k86UBRkUcHfbB7yuLc8dKSd6tu+ogN2f/LqZPjZHWpY+Frw8TqIOu0\nV+P4\r\n=rTi/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1MnMSSM/SVNKcj/DgSGrLBvSSedte1eJGgjPHw/p3wAiEA7AaYIa44aITaQRIj0+FAt5+imJwJflsvkyxuclwHpco="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.205225457.15_1606692292725_0.2456579774979082"},"_hasShrinkwrap":false},"2.0.1-nightly.205506399.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.205506399.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.205506399.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-csqN5hfhOpkDg7/wqfE3HYjDT31kV1s1926OELw4+8JDFWZXgCljupG4RPJMxNSJW2qNlcy3RvBWKvtupyqsMQ==","shasum":"898082429e316360653d589e8d9fd84403b9b5ec","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.205506399.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxX+JCRA9TVsSAnZWagAAq7AP/01rdsw66wCRu0VVakum\nCQmR3TqS7Xc2DYTNSbIYSA9VIQ7vRt5yX4fQQUeDJ8m6qL6baaJsrGkO0gH1\nocu31bxQMOWGZ/OsB5h6lahJVoK3pvbJPePEO6p1mbsKXYFskh60g8e4pfY6\nO+cNIQGjS4XJOJW8SY7bBa7juT7HZlW855KtKpUW9p4dbnM+PlsPiMQDjGEO\n69N1dbvcvSTlC6cVdBPHK3eUTaQKJMjgdUmZNL+EFta2nY1QnWZeu/UF7xed\nm2zyojDMnucduQaH88/p314jga9R0EeC4wVvwV2nxO3nreNfpNJ5sF36kHxf\n0Uv8CsvK+GyVNowDhm+BtDz5h9IevcY7ZtdPVHtPa5R+2+8/Ah0uKFJEf8vy\nl5SbHjmN3SntcQwW6AsYsDXyew1lbBnVbm78XAo9xFXpdDAa1DYOiURDJEen\nNbySvkywMDh+NmzztjKuPLvUn4nyCRd2zz3JvTcPsEFOlHXe+dF9QvsPSIpz\nu7DDEjWNPeK7XA9eI8wVANMZcg4P1DWsqyg3UcV5PuWp52z9KMkTLxUS+VRd\n8jxH+NSBSGGimAKnNOrPHeSnbv2crskbVuyz5shcsEDtaIcTmHatmaR65ecM\nlRI15WLlwSb1LRFVRiXRHO24q94YQTOuWJe2GS9m/9h+KuPaVTgyQ/TRTJYe\nHFg/\r\n=SMDS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrQf3whh5iJFtVfcReKZVnUQzaF9Atpw3mM5QcOBLstQIhAJCnSxxF4HZof0hY/1aTu3e9P4i94PxnD/iTbcc7V35L"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.205506399.15_1606778760971_0.88416389064255"},"_hasShrinkwrap":false},"2.0.1-nightly.205794510.15":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.0","@alexa-games/sfb-util":"^2.0.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.205794510.15","keywords":["game","story","Alexa","skill","voice"],"gitHead":"d7b7bc1f23749fe53d0ed46e21f18bb0440f2c2e","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.205794510.15","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-oT1v8HtTUTJtAorBWs/0EymVl+3H28iPs4cjotik5HioLTx153yxp3t9tbhr5c6HsjH7Aa8jLgNVKOxHjIYmTg==","shasum":"ac8b0b192d5bee32f49a8c7982eb2859df5903f3","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.205794510.15.tgz","fileCount":181,"unpackedSize":10223627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxtE1CRA9TVsSAnZWagAAzj8QAI0FckqoYZe22C3kISxx\nIXJoBTQJqNyUVV+2gBQoKBpRAm+yL8toLLW/ivh92yWM2rdbd46qwovt9ekn\nARNIkK+0MqYJ8/sPwEBvcYAFxGTUtd6SPNPoriRxk4QAVDD8AIGISEEUBcbu\ncwpYv4uz91UOxyYcNxXokeNBcdtWrF6/7WJBMMwgWF290CDOv5ygu5WcrXVX\nm3BUhokvvXmT6M7N8btcqhnQZ9eakr+r0jF3wHdf7m6nZ7B47kTwQ1XDsNkr\nTfLSbu4XL7fOUVVL0CsOihJQOmK5X8/Z+7niLXW9OuJ3HpS8602mMZCFHpfp\njxEKnjofEENdQQ00QRyKY+UcBp0RSYOcJFfw8u8nQAWuunjIV+VGADZ2s5Pv\nKEI5ndlIi2wXJfE5wf0mv8x+o+bKTLfZS3ORsoHvxAm9/VGGwxRbvYsWqdMI\n9ItXlf2p1VtJtN8Vt+AVzcxpAzLKwy5LwIN/Jy/qfEdtKKQTi+UTkPybz6xk\n2DAUfptf3uw6sneOPx8uepVktz1mTMzzW0p16tRWMquIiowc4HaG/GwRDZWT\n2R+XFnK93626qOaUL01gANzecY7Z2Agj+Tn8MuxCiDOoup9GyB8x/EsBiOid\n7JQrBh9sZ3lJ6WeKxeCPh3XzGsEa5MgCuMKwexuq5AXdk8QFaGryvajUCMug\nIl+U\r\n=72js\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX7/PhchbuFoy72IMpigMYVulKdYmCEPl79Au4GVlQGQIgLxhV93cq7otJBJZZBCrKLC7b3969IYcSXvQBz++PDIU="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.205794510.15_1606865204703_0.9900171592323979"},"_hasShrinkwrap":false},"2.0.1-nightly.206087558.16":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.206087558.16+205254f","@alexa-games/sfb-util":"^2.0.1-nightly.206087558.16+205254f","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.206087558.16","keywords":["game","story","Alexa","skill","voice"],"gitHead":"205254fd6096f8a88820f77908096b1ef48d6156","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.206087558.16","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-B0Je+ifNQPjdUg7TuvpmD3Z+kuxt8huilHBs1r0/dvfhUlHvkYm7NszlrEkbnS2ws8sbP8SMtisSgqwNl3TzjQ==","shasum":"3dd731f4a1b29fa1b5c5176c214369395c0ad829","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.206087558.16.tgz","fileCount":181,"unpackedSize":10223685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyCLGCRA9TVsSAnZWagAA5PoP/i6Tcd3z1AOgiW019JH3\ni9QgXB5GmF+c95BpNg1DCout/+9TmBZ5DRiVQM4JIo4+16e3yR5bJEtObZ/t\n810h/JOZOSDtrbKVSYTnmxWM1R4WV3VYep7q6ycwal9/PT5/RabCOkyVxE/M\nfCiRuc+VkteqChsQpXozGD/j856Zm8e1YIiSP1NhVyxtqv7lFkcM0CUi3u2N\ngVYgW2O7LCbvPpQgOZnb28y88npiBrRDXgLvxLVrFYw70M7Pwu2/8Vn/YSSM\nGUTsSIkerQsam8gThFic22YAxE3K18Y1ejtrmTyAktElqrxBxjO1uyCJxXSg\nvT2woCUHddPFq/PgOzgwEwAsVMiHily6SN3865Zjsoey/1PG8mt3BilCGfsW\n+x2Qo3utOeW051oXL7jHNr9zgRmxpM88OwKvr7RfsexZK3mlxVkXa6rkZGiF\njCsRJU3DfJRNmPzWqTl9X91OGePMrIlEzmLqA2f7pZejmwAszUA0QOHSIQGg\nsbzk3/DuSY7+MskSqTTzzCLs8GJQxdjOOn1sdU/OObGb1uDImbF2WiigmDeV\ntWTSC9nkE7qeKPsjjnF43z2y/XbrvO3uIVx7atv249MxE4V72S4bEqSerKoA\nvvHfHf2qgu4zv+I71LWwOudOr/gYTmPfyKZlz63COxJfg7Hyk7njanTp1oT+\nYMb5\r\n=twpe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3ZUU38lOMs/DVgEdQpoRGnTxPSO+B/SpCiqJWFbVgWgIhAPviYi3B/f1GwbXLyw/E4RP9Ig6K51eBNSEUonVKwSDn"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.206087558.16_1606951622194_0.6937274696696991"},"_hasShrinkwrap":false},"2.0.1-nightly.206458165.16":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.206458165.16+205254f","@alexa-games/sfb-util":"^2.0.1-nightly.206458165.16+205254f","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.206458165.16","keywords":["game","story","Alexa","skill","voice"],"gitHead":"205254fd6096f8a88820f77908096b1ef48d6156","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.206458165.16","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-k3dIid8J31Q0ns0AurQ9sP4PGM16vZ/8zRQXPonffcdh3g0HSeYN1ZBum8rxla3OvqIRr0YlCpSBYwQaDT+peg==","shasum":"baf338c79a40879396b365431f67ff638e8ce1ab","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.206458165.16.tgz","fileCount":181,"unpackedSize":10223685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyXSUCRA9TVsSAnZWagAAr24QAJcwwbm5gK58SHkq12ud\nVBPlLHCtpQNCj6CRMJKkC+Th8cqck/fovy2+B4LyHQUvsbDFKju/63Hl62oA\n6GfwwHKTCv5xFg2GKhbmI7NZVsNroUlT/rZRcyAG9OsfNpV1+g14R8fsxRy1\n2tKHtzTc9TeHeWsSD2P7tfyuwV2wKCrMqLb5EzcIN5Dr/RA6hACQmuqsVhVw\nF1DO0nfdXbKCo++MCxxJahaef9swCJEiiy3h8LUddxxxASS9ZHcKD3RDSmBQ\nxY8FU/H1QYQme4uo/MoIxS6Xci9XhOpY5fcnlMbGqg5hLdMq7UrCt0cBTXwP\nXW+VXX1k4kSSiNoscyw6n2tDi6FjKdd9HFHDTsB2oiRbPEwn7R2ZkS8lH5Jw\nlxRlUKhv2yIL9D92+U5TzVKyZnf/Mvip8mTJKrTjCTQp2osUt+wzhtudPaat\nGiwjgpZHl7fUkm9/9QA0sUFh1y5RSXtZvbUjnJxSu7waXmIZ5tzXzaO+V9zC\n+5B9j6Ue6W0IBLYowlPXFBGSxFqKi7Lh1RIfek2bmWWSG4soXvN7lW4ZLW1g\nN3XRgZzFx2FCiQBENgSvymec63PryK4Apeb41n6XCHhS480zNLIMrbx5rK3X\nEFVkEfK+z66xsTSU5cz+gJMjFeif8Nbq78n2IOlmaRULPnpfz4ilU068Pon6\nYaOV\r\n=ScBh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSP+Uy2vd5t70sfL0WHEC5lYUzQusDSaVkCr9m9Zol+gIgUTF8C+r79kq7Y3u94n95JPTS0Z4orLKf5TMCJfkmUnE="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.206458165.16_1607038100402_0.6920640203185242"},"_hasShrinkwrap":false},"2.0.1-nightly.206717822.16":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.206717822.16+205254f","@alexa-games/sfb-util":"^2.0.1-nightly.206717822.16+205254f","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.206717822.16","keywords":["game","story","Alexa","skill","voice"],"gitHead":"205254fd6096f8a88820f77908096b1ef48d6156","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.206717822.16","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-DwDhBJ7ySMDqCS5qXGKMuCgjq0Ns25WViHyGOJOUIT7D/x0gqtqp0GOtVxqckf4NpSJCaA+P/04IQfp19CpoJg==","shasum":"2ee0fd6235957bf641766220443faa1c4bb92def","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.206717822.16.tgz","fileCount":181,"unpackedSize":10223685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfysi+CRA9TVsSAnZWagAAXUcP+wZVQ0PUx1p/byWKFV+u\nhp8mTpY5qiitgUwX0gM+vTb12HutyJBy6fym6CC2PbbpAswxw9ch0mYw/Mgk\n7yQXOQZ14iyZLZ7QXRv5CPPBXcVgIiYntEePBMMXA7fgLm1EUa6hqXFaOyWC\noL3VhxgOy2+xvoeOrcn44KwuPbxFF0wa/VrnK+vEJ1X+3CgQxVcYJNgzXChf\n69ehMbDZSkhYldu213lo/BrkoM3Hb4SNMv78Ln+r8aX17fMATQFQPJMJuFiP\niv8+T1ZKdW1SDHTw4s19dLr3LWTK9T9L0/eEHYjzwm8pdO/zXnZNvR8IqYBR\nrOVjRVKovJ/mthUyZC+Ku9XyUJjbwjmXCHJP/Q870SuRuNtgDb7JNuDTg72D\niLmn2WE9OwROI7aiekVgB2JJnr+cPDCJQbtiPPOCwVtfbPGriuIlZkx1GROR\nyouCnA+zb+i5iTNL1syrcBWIF/tCdE480D0R8Y4U0plV6Dyx2T1tJdvlot/O\n0LIy9eQ6azI/7Xm8ay7onVfxA8buFrFxdo+TKwe5rc/6hFTy58iEkG4Ii581\nrcHxjhadRSx+ixkQKzgZKzFKAzu5EBzvJquUmJNKfiCXeDiP82vhEvLImigF\nbAo3YkWaLCOxBcYyQaYdsVOrDsrHjX2QObysD9mbsiU6/lPPROjZ0Sbe2gKu\nVbr4\r\n=9OqV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtBsN4zrlNQ5dIq5VNzliLvFak70EUMDfSya2cT1NjmAiEAlRN4xYn+RvAABH1DKUUrOFuOAPQ7a76uQhG5kcgUR60="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.206717822.16_1607125182369_0.09143406812658816"},"_hasShrinkwrap":false},"2.0.1-nightly.206823160.16":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.206823160.16+205254f","@alexa-games/sfb-util":"^2.0.1-nightly.206823160.16+205254f","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.206823160.16","keywords":["game","story","Alexa","skill","voice"],"gitHead":"205254fd6096f8a88820f77908096b1ef48d6156","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.206823160.16","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-G18FM5sGkpMti6tJMMmpwoPWtAGcFKhi8nI0CWjUwts50Z+RPRlx6bzmuDp2a1ypxi8f7ztoV5yerOkyHKz5Mg==","shasum":"1d8327ae35dfef99265fb7871eeb2af71ffdcc5e","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.206823160.16.tgz","fileCount":181,"unpackedSize":10223685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzBdqCRA9TVsSAnZWagAALEUP/1XEPkF9kXRV0P/UJeEa\nOf8/7nKZUgF5jd6061diqHyuo4c7RmhMW43ydH+8t5sPyIHLmF+gkUUy+ZDf\nyLp2icgwr26G/Ds4H9WOel7AWsREo9KFDWlRxN+depjfBhIwgo98gaJ1qBOM\ngmy8fBFhdjiJkefqmOi7aNS2+vjWkww4Tkb8VNVMGVWyAtV+8we6qBPM0sC8\nxDelmfiIORKRupFO9nqv3KHqyFFoFdwo833hqThJlN+V72UO86IQsvB0lB7S\nKEllUjmW/Z8oYdDvlzvZb2yDPZ0C1tpKj3SE/WjSXtMbZetPgtuPcrB48YTt\n5sKayLIWsiphbLH/7OMKyjwVyqDXdB/pCSvYu6P1yh7swFdUKN5S0hbbYgao\nGowY7JmsO/VZjXtQeUTXtM/yZt3EyWC8aUaxZWxXWJWPzOH3cieHpRB32WUf\nEEZJ9YWQOwDba09n4sR2AU+BclGtVwnioBEIuGLcerNTnf+khwDAyK6fIPvu\nun133XfnPIzENvE1hAubIoJob+/Hn4b49zQEwvVq4O6g6FlAqmbCROJKKDpo\nGdyX2nspnFpavkyQt7TRmjo1N38IzCYyiLHCrINVhjcrXWauLxrC0SnNKdKC\n8pGMqxwQx5Y3d2sY9ONorKiCUha3QDSodJAdGXFAsovkLCP/KsRIaibikiMc\nDvwA\r\n=vVET\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSMp53/B66CGP1WX81tsKmrQUiRhK1UuHudZZCY9BUbAiAc53Wk57pjBXp3j0VsIcaJMXpFP+yI40py8C8IVal9kA=="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.206823160.16_1607210857924_0.8678302520088108"},"_hasShrinkwrap":false},"2.0.1-nightly.206922353.16":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.206922353.16+205254f","@alexa-games/sfb-util":"^2.0.1-nightly.206922353.16+205254f","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.206922353.16","keywords":["game","story","Alexa","skill","voice"],"gitHead":"205254fd6096f8a88820f77908096b1ef48d6156","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.206922353.16","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-TSHzXFMU9tCyVAqysjpuN5CemD4m+r7Q74CbNIHr8Z4SI6u5lPp1y4eQ5OygfTY0444au2ZKGNkvPUpX6dQxjw==","shasum":"40b91c0e56bed485408d68a3b4b1067d5096dd26","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.206922353.16.tgz","fileCount":181,"unpackedSize":10223685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzWjqCRA9TVsSAnZWagAA6RUQAJVzsX40Hx1fgDeaezVT\n2VeFmqkMQB58I6Yx610LCVIny2ycc6ZmWKwyt9M2j+Auxo6gh+4kZzaTCixS\nnRBvCUiXCapvKMsvOGCurPVZP2AghzvvzBuTrMO+0fvZYM2LNm7XGFvKItG2\ndHVqiWt3fyGKC9/lep9AvfQxcioMrO/cT+pYJyoxH7Ci8znqWUHlB+Smwu0I\nWFyP1lH2wWk76KALbHa08HaYGl1/pUccJ71djh2AkbDaN7TrwNXYam8jasgV\nS0ojU+Dl0TX4lnbNgnUyKS0KiNY8RI5asaUNrJvkwx1JwjbDIhcAqPXgxNX8\n80xa7vCCpBD8inQTwGrLAFqTJB9BX0ovNBjL7kLeGSaax/F9HSi+sCaoY7Hz\nKpZI28PGBqzTPpPqIiUvfgRqlIhm4ZqjUVT2muW4f0J+8QgZi9GbzXPLxggh\nGwX5wa0w9F+CHixqvMk8Q6J9/t5874LuEk6YVQw4GYEuglwbtwwbZix26oFs\nHNnx+aVvcV7LVAtySgt4oCLORCpl10DslykdoVdZujbrzZ4raAoAXF83xcPT\nHLW6CFiGIVC756yH8MxcV5JCXtPO5KAqoL7GpoprOcH+W8ZGsdQ61ja4pKfq\nqt8WLIq2a/BRrm4MNcjRDQhBI/PdM0036dzPpsrXon4xBC04s0SnjcMzYufe\n4qn4\r\n=5VrZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFNl8MqECrfxJ5kKCeo+UcHlPYT0bPpZZA0z7dOotYzgIgQSQtt/jEhbDpDknlXuTNewMUjLBAQpPu8lsHq6Fk8uc="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.206922353.16_1607297257531_0.44857125195314373"},"_hasShrinkwrap":false},"2.0.1-nightly.207167783.16":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-nightly.207167783.16+205254f","@alexa-games/sfb-util":"^2.0.1-nightly.207167783.16+205254f","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-nightly.207167783.16","keywords":["game","story","Alexa","skill","voice"],"gitHead":"205254fd6096f8a88820f77908096b1ef48d6156","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-nightly.207167783.16","_nodeVersion":"10.23.0","_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (darwin)","dist":{"integrity":"sha512-TH97silbCfJ0LfcW8QhhG0HPrgjv9Qf0+FU46vG2Kyur1wllYXCtP8UqqG/AGHW49dpWSMxNpZXXEi1vN3WetA==","shasum":"be34f3225d97eb7cbf7e04fe1bf2801e3c51f31f","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-nightly.207167783.16.tgz","fileCount":181,"unpackedSize":10223685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzrsaCRA9TVsSAnZWagAA77QQAIbxOjSyI9WC+ZBQSqoC\nP+4QT1nTt5Qt5if1TGygxvzddT2Z9apkNmAmwoKnnsMA+TZsyJm+K09b89R1\njfMIbGnsDPolU7Ieq5YA1tvOnX/czNpn0bBXhvS9ClOFMoj0exBMmQO3qhXF\nVvkJ+910oo5m/B5inMjnlD1Hvx//Xh0Gs9bDhkb8J+NszyXczhzC/7ceJ69U\nLTKGfOsZOnzXqBYQzQHUxoKKQecUchyFhhFkZEstc0ctJBCZnVcq87SO3Jfr\nXO28dCk0LvSnLUdeLpt80EG82ldi+/jZiVIG5lwmH4DLjFC7P9STEqrRfHA3\n2rSG8xL1IezNHXGtxaW1Q9+LWhrt9dw7X2N9Kr7RshrJMeFVD1qv7iFil0vw\nQNWJxahqixkgl5iWIRLlfJ/RuF2uvbPXvxsEVWQAgqVJ3t4UGBCE6nWIFlYc\n1ttPcG2xTm3GPvoOPmlJ7gq6ArBfMcEv9HNsJzFdUT9hqZMAHe4Tkzp6smmV\nnJ/DbqccDHsNMCapcVBCl5jI1loEq3a7eduL1mvOGr3YSe1kHBN/iedWujqc\ngyGvu//qRU69cYoAbHQVTku9ypNU/x0KuzQ37RE8PUzcMwIEDwFDyEiwqXpZ\n/diAqqg52Bm2jGVsu5Gg54bhSWw+DxkNvnIRPC1BlwHfKrsLcmAVPzPSWDus\nv1tr\r\n=cv9f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQCXwpLJym2dRfFWgBQ+53SA4++OtXn/uRR8G/pletYQIhAN4LxT1rel2gx7X8C3yu9QrgBEYclLLPvRz+Q8OI1P/g"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-nightly.207167783.16_1607383833859_0.7401027053583809"},"_hasShrinkwrap":false},"2.0.1-beta.18":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.0.1-beta.18+5abedbd","@alexa-games/sfb-util":"^2.0.1-beta.18+5abedbd","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.0.1-beta.18","keywords":["game","story","Alexa","skill","voice"],"gitHead":"5abedbdfe73f2454f04a7347e9357fe5aaab101f","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.0.1-beta.18","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-I/XnmC7B3tl4Jq9iirJPI8Wt8BLHeDi1IrFSldDZGexlESo2Yhf15X/kDAqT09wBMYehu5SaHJUp82eR3b/qpw==","shasum":"7b115f4ac794b0a1aacfa17673f7c9560f129c02","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.0.1-beta.18.tgz","fileCount":181,"unpackedSize":10223646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0ReACRA9TVsSAnZWagAAi5YP/A5c9kdJG7OXhp3N2PqH\nBFBvl4dNaxmpLPBWqFKa4C9KU4uOHyKx0luNA6tkr5HkWh0VSHL4M3nV30eB\nESAxZ+DArPPYeu6TzRLqFGe7k6E9fPbXc0o9YQ8ahixR6cdXxaMV2gWC8z9c\nno/CIiaLy7UOJwjyg5KaaoExffZhvnHb8HVGgA+f45KqYtg3xx0EfFK/+4Uq\nmBmd0GtpeZL8uSmZc2o9Fzp0ed/Vrze9BOvfGM8nWWPPquWlXKkmR/C0cJ5r\nAwKxmoV2VkL0hQbScEfwDDNbh11m4B/9htymoS+QNsjccGVuIxP1umFtSpMg\nbauXeGRKvkiqRmOGmGIBwRWeP2pFh4CTc4Qkk+HzEcgM0iFDLo/UaFtI8Tqm\n8ZjsTm5bq1mZiV/HIXTYy4kCNMpKQJMgRG5pWAVMpJ3vE1LAztv0JZqcm0nV\nGExxFJJGYPGz4HJJpmPVukATYxK4lQg0yuMGbr3howGg03Z3l24O7yauo8j7\nIbnUHrmtm2iBKDvtXXXUVZxdXgSHQkLsCZI59YUa+pQA5iWbn8J2HOOYCv8k\nzP5KPrC2J8G0JrlJlt2HqN+Oa+1x6jXZajoAkMrXMY34ey6U/qxkepuPxHu6\nloqQe2HjYfycC6lIFDfUL47igxV9wHUz25n7jtF7BdplzwRTBaSs7A++XCdy\niW+U\r\n=k598\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9QRl/X7wDCyAW6UskgXDLQqaEURXt3gHq3AAauGWrEAiEAlVaxdhivG1HlCDTZAqJ/QRoyRQMKjnpRQsvnIjPakeA="}]},"_npmUser":{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.0.1-beta.18_1607538559986_0.23304947790228003"},"_hasShrinkwrap":false},"2.1.0":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"2.1.0","@alexa-games/sfb-util":"2.1.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.0","keywords":["game","story","Alexa","skill","voice"],"gitHead":"b9005941c27b0a86120910b8e6ee7caab6dea0ea","_id":"@alexa-games/sfb-f@2.1.0","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.1/node@v14.5.0+x64 (darwin)","dist":{"integrity":"sha512-3bsrg6B9PVPbBsA0Td2/wleSWBURdofOekU00VNNL/9/OQKzA3+pV/MSOv8HZ1+9wPW9qgDZVSjBBQsvkIuAuw==","shasum":"4588dbd5a276aee7a3f690076c709be7704fa463","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.0.tgz","fileCount":181,"unpackedSize":10223959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0S3MCRA9TVsSAnZWagAA2k8P/3uVzD7nN9co0dH7ZCe8\nVETY2VkfZ6YkXUVZizorTemWMO8V5qmxc/Hhrty5dUqKRl9hhCnb8VL6mb2G\ntupXKhmjPSUbPsdItaASguJVRxtPi/+nDoTlx2Z3GOGuCC18tgiWEOUFrIzg\nzSNWxItogkOZ306yriNFZUixHQUcrw1Nqf4Z3Dt7qeJWh1D6+Wfp+dpRyOvU\n1pJcDdMLuh0UXLEHOP7wPTJ90lcbQX3Ytc1R7o4qdviUSIHZzBFF8k7zL0u+\nxnVK239TCXAuLbSqm66JDLqD/dkRLfCqyav9m9PZ0+4YRQ26zraaEgLKhEY8\njdLgHWotnragYXszeJYj35MSF55AczBW5PX8fUJV2PbXlsm+HhTWq5haFlsY\n9ntzD/loN+wXhjCAshI2ZzKFvjdYwHDzLtlgXRBc3eb7NEJ0Jq6LX09g0cNw\nU+Uw2kgEk1CJLO7jhAhBEnLGzsVHjxxwEPqEk/obBmiV1NlUS219SLplhuF5\nT8/p9yi++8a8hGPdyCwy/RcaNdNbqpkKAWZu/7gfpnoZLqNKo1/thWYRZKLF\njytf6aCREO7h7cdZfMYcLEgQ/nHerspgnxmrEa/I7xvyTeBUnkcSiMyvGGL6\n54dMutT2ylX8zoIb4sbfPOfDuJvwwVUpMweHZShbCGWB5Lz1rO57wNZ56C/U\ntDei\r\n=+y9k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDk6EOQQf8pEmN+BopaFIjHITR5NM6DX2PHvXt1w4bS7AiEAx6ijncTAMwu2YrYF6X9CTcvPp66+grQJkLyQAXVnvS4="}]},"_npmUser":{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.0_1607544267520_0.11008054355089514"},"_hasShrinkwrap":false},"2.1.1-nightly.222998180.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.222998180.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.222998180.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.222998180.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.222998180.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-hE5IirL4mJKqMFSl++fbmeB0OnyySOAH8TfJFO5WjQomjGoml/Pfw+cgd6RQz7Tng5zYFSNIb+YmN0X3ci0lmQ==","shasum":"d2b1ba8f125bfd75813402562a238c7d38f6b796","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.222998180.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdjjeCRA9TVsSAnZWagAALX8P/jx6QBeeM0qvjJTah93B\nJ5+tItTgXB1URKDg0OWvPjJ2htQ8+KtkDpmcr9YYi5R6Sooi6aU4bwRZFOiZ\n3X4MQ6SNdbiajqIXyQshPdbdjou6MSWKCUoHuifDSpV1kmeUyb9k2JXhVgcw\naV06YU98DACqM2zOmIC/eRF8jy4e2aAQ1Ta/VNAx/UdHoh5pOqtiGEY/OTSR\nwW/2Bs4XbjWRwyO1URkpvcmdSfdDIFmCwKowd2XqgepUv9Liek+9S/8h+vmu\nT5bMMUYdLe4GiiCkRTefSPTcnh0AbC+j1gOLNnggkkyv0s1ocKOEp1WKFi9C\nlvA05NSie1scLsYP5PMEHpo5aUX0XTRrYZbKFgNf2vOCOjb1uKNrVnnebceU\n62SJQm1UdVvUc6u/KgMqHXBL9M7qvoc+ykHZO6wlsihQK4Bz42vIshFucHzz\nYARDh3ggRuERVuKZYBOOAmz8LzDdxGV/9mMdlJbTOkFSYwZ7cvh4EjE4eioo\neXii+pihicKPdLOAIAk4U7uoKeQPNONdEcz4PhOgJzB1+UOC1x91OWrFQo8R\ngKLNcWhhEzm4WdGX61BbokQhtRP3jf4S4ASdXhpePIhg5bWpEnooGlQVd5fS\nucSRf3U6F4ldUHG9BE764Z9t7MnnOF3K4hZzni+eYqjjTQp4JSeS9tvlRKrM\n53qj\r\n=kf0d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4KdDsOeV1j293+sJCehsT3BsKQvBHzxlCbuN+IoESwAiEArGqKBThkQiTzs5YJU95qWXcfEJ68qV+oTVS11PZd9lo="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.222998180.10_1618360538310_0.9424209508584649"},"_hasShrinkwrap":false},"2.1.1-nightly.223114844.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223114844.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223114844.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223114844.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223114844.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-WxOawQbb2Wr5P2OsZb0NnIzqs7O1OlnQzbpXH34AIrjbFrZzRodPC0PGcp/DOIWFNbgWMrVw3y9hS3hVnklWow==","shasum":"1ce84b3ae80d6400867aa10a79c731f6fc5d429f","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223114844.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd4rKCRA9TVsSAnZWagAAQFoP/1waSyivu+xg5kfJ10U7\nLHNmuqVhaAfhGEkfDFiN0C0NndqemWPeAGi5yQGgVkov5r/2yvhwP5cGdUEU\naYfBgBlvm23LUpwzrU2pfkcL/x6lFX9flsjGO/RMrHoiE1u09ZXfu6o2IYKr\n0+MWuslFiG2j/wS82gnKLbm+uesaUfG+0xcZkUnA5z6Httvztm/tolqHfU6u\nlD63Y4Tuuh+piQ5IzjqdyNFdkQyDvSH+mr24HPTITLX1D3nOHBUnR9qWVgFk\n7MeDabZ4oNTulcIAKhJTFSZiMlIoQqhERbmtCbGN5vHlKugzDhKZAwB9XfPY\nuMHquCnAvT+vU/dBAbBgB651GsjhM6aAN1omuUWZ8d/C5H/VKOGtTXtn0+DP\nh3FOgK1qEPV6tI6Eb7Csh7PG3AzECZGw4aVM2L2ilnq5yXZnXbB5HlQ2rjXE\ntcjiTMFdvUBCG/V1vnDi/0AaxJA0RE4S609MVmAwiV0p956XGJLNCIk3RdYO\n7TK09cZTB/RvhxA2tfhQI8Ekz0YEL+4HkRF7QpiXX3fgC6ZUHo3KiRJL5vif\nO3GK+gI2+iuz7F3xBpiw+uGRm458TrcjSaeyEV/lJLaY3swloQ93IoMAHd5x\nZF+VghjCxc295NhjkAviWnu2KXfpFsc8qnLJ0g7WfvrL+PC6pcRpNNAGQI1L\nWFbI\r\n=1rvD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGs8dUcsLyBLj1Tpngj3JhswLpggENHm6iD4XYxdDYQrAiAvHK01uhpVVAmaqgtI2l3keXBrpyFmUSaUJhCDhxNxyg=="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223114844.10_1618447049926_0.6617086230343874"},"_hasShrinkwrap":false},"2.1.1-nightly.223246371.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223246371.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223246371.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223246371.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223246371.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-EiLdxpe08sPGbuctkd6F6sMjXCtI16Steh3kAl/pX/ZgRmLHYt6I9x+1B1PQ4qqCAHw79SzRilbyYMSmSXgFHQ==","shasum":"32af284cc74dea9afc1378afd69681820ed7e6ec","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223246371.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeNwVCRA9TVsSAnZWagAAyU0P/2WF7Gbe/NKGeucYNy0e\nngFUm276QT7pxLHK54UL/yeIoTkU/9ktoq+EjRzLIOmZNEJV0Oh4F2ohtP05\n0W8AaxykEp6ivxnUogWe0Rx+/DJ2RrdylkiKyGY+ZZTnmPz4KvdhjrtUTmQt\noTGnKOjFxLVYgAL5bekY1Nzq85d30pLqr9cFjhw4fmdY01gii5yOTxJydeHa\ndbK0ytLG5ozs1NClkulQvBbUNlEsvRL+1YNResXYVyut1P4s1laVlmCSZ3fU\n9P4GoERit5oayfhq+fQ4NKTTp9+QbuKNmmiGTjMd+AgV+2eOT0TdWqkV8C1/\nUonT5f58xPNZZQmYr1exM4v7VFwVt7TaKYM2PgyEFIZWMjRWluyMYif5KX13\nbhFqiFHZ6NikqXGeS/hHlhDHH9qLU8NyBkvGzX65BQjYQlrkOLmHWuXjlbwE\nxlKUs41ReNP1P9Vvbptqaobh4dg3Y7FQ8DhInzdF6c9GbaLY4Piv2siAhRlN\nY1nRXy6077+jchzEDeDHoGup/Lv6Ol1Ozy6T/HtqkNYDSx0VRxeO4QB1516F\nbwPd7dVapTiLlOHK5bwsr4FmdUmOC8JVOusoW+Q1i45+NuN7SjXwweNM+JEZ\nTX3n38uc8/AIR91CYA4qAeN26EMD2iucyx1QfsQcXe23FObaJzFwgweA6A6x\n6CS2\r\n=KRWT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJGPSyYmmfe2xN8JxzaSrNvtt9Gz/N01pygTsNZ6RsFAiAlNbEW8pmJ29VpJBktNAYcykxALLMnE1r/iDgtAJENEg=="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223246371.10_1618533396593_0.25472112749095777"},"_hasShrinkwrap":false},"2.1.1-nightly.223356168.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223356168.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223356168.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223356168.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223356168.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-3ybNKd0ivzGR0UsIlBqHV4CioqQnr+IOeOHVIjEnW0dL6TXZgHpDj+I7ck9TfxpUx6k/lNuoN2aHdc9biNJ/Ng==","shasum":"c18a939264da47d46f294a21da46365e9cd80b03","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223356168.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgejAWCRA9TVsSAnZWagAAtT0P/R/TkWiuPMC9Q4DmZGuI\nZ+o8pJ08Ud/YOkb9tkQUkpKyHRyKJ/tpSsvKVe76+4hlOaflZCcx4G5A+ALQ\nMz6kMBgPeqnqt4Ib5LF+ddRWFBlg01vOAk7jN6OhCJ2TQ16cT8zxkXhZhFEN\nc1+c6nMVS3Feg2COUJK0mM73/t+uJ1qShr6O1GbVpjALph1dS2P4aH/31KgD\ngvFaqzC7i1Z43Hdsk+lEpO+lg76gZgW+HWZ/KAvvUFuQVvf2K+fVOsyVuWyB\nSrarOvSMd9wxVz0FtGwXmKjAGka8G1cN3b67j6AQ0g5roArIX87+oZtDNYf0\nYweByyAgEaKn7AEwJnETRY0cGuGekhMJ0EayvxFnoVBsSb5qJ0eb5k55G3w5\nk2x5oUx+IURa/UhXw1mq/86LwsedNXY+2KuemzM/h0X0Ykb2dfp3gGpnqJFj\ns4AVBR/3sLxv+FFGc7CCsFcEYkqmssN9jDGZIzigIgBzypPJiwdffmAjTGA9\nCgzseAL/a8bgpyA5+R0SK6KCq6y+upEAop6pfYWDCTyqQHIDT1UuzQ3A7tUG\nPCO+xQvjDYH/jAgim9AiZMLd6V26XiZeHNcD3f3tNQxmTpn7Ir/l18Yfu3XO\nawA2lD2TFgSaE0LI+i7w5zntJB2CV/6cDfAzZBZmaZW1ZWLXV9b/v0WyZw5M\n+nWt\r\n=eByM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMpUNvTOw0MZiaegBDj8mDbnQfxCNCnBtFQXXnLF/C1AIhAMlkIJPR+7TnqtmlZkGmjuHxHSKmuR4fpfu+rxR00+Qj"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223356168.10_1618620437812_0.9239057010651024"},"_hasShrinkwrap":false},"2.1.1-nightly.223383941.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223383941.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223383941.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223383941.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223383941.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-ioxEJ4LRfRJxygAlcAj1I4mTyJtXPbLKRuLS60cz5gCsaUaUvLe6O99HyCNjXAfJ6gGh3ZMKLbrMG7MQWQiV2w==","shasum":"2b9b37c0de6423ee86e52dd237e5923cede16996","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223383941.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJge39uCRA9TVsSAnZWagAARCoP/3EfeAwhlHAv7dQHbuUw\nRw/JDjip4ipm4PFFkLpK4UTmjpjSAE4251xSvR2oCAxY8NhiI+DQ9Caq2rid\nqf0nhrbchp2iWF7VhdIfg0eNQUSyiWh7Rr2+EhZ9yBgjrB1stydu5vpCH89Z\nbWXoSq1cWoKBhxwfXcAi+NfrzenFLJwQlsbn8vYUVoda/wcG3ld657pcpxd6\nxeipxnL7nys4shbdwHTrvvehZlp+U+G/UN5hzoV/dJLIcU3j1Zi0CcAa20TM\nHcbRT9LO07BtTc16TkNQXuxb6CLmaguZPA6NW6qlgHAvSV5tDHZd5IOjwtxJ\noEJ73aJnZYSQwYc7wDC+bat2f4XStpUrqctsuPHGPKgLyMdOdHeervyNyw4C\nErFX+kKMd8wwYaQ50SVLyBGV5Qa5WzncrrOsMaRf8E6Dvv4rtcLY2R3hlFiV\nOVKd8t8eNkP93VhFTTr0zJnOBLKnGmCADE7OuvgYxCwoRVS5aJSTvRZrhu5D\nBBflASqRe87Ca1PEirBUQ+sfielpMBmDB7z6A20UrnUBi5J/6CkaD3CBQAgF\nzTQzCzXadlqYu8Xtoe9VJQQug7ojHXmAnM4sluPk1Bio8IeovPEY9EvbKmdP\nsyYuVmXpsYCflx4xAuqneotXryiVUi/XmRf0dbv3x/498AmkoE4X0klUNLcB\nbydw\r\n=ymsW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkJwPB6NmGmlNyIqyh2M8bh5lZTjlhvv5joDoBnAwl3QIgas0+se11uFgY4IvKAE0p5yETqwKpyczrHluGJ5rnrX0="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223383941.10_1618706285266_0.7502926466505326"},"_hasShrinkwrap":false},"2.1.1-nightly.223416837.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223416837.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223416837.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223416837.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223416837.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-HlQTa+k7nD0ZGliQHcVPKLlX+RljNfFFMSLg6Dp3CGRvflXXkVlxlOD0T0TGODuZ5Iy0wDktKIyaKoVpW5VB4Q==","shasum":"80a19779aed9be9a82064e40e00c3ce20ed98366","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223416837.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfNEGCRA9TVsSAnZWagAAyGwP/idMEzqMaWiZGXbI0qMz\nbRgqPUA00ammhPCad0HIOSvEp5j9bFhJ3aAchFPXNviDbxLXqJ57HGhtw5Ib\nKn/93B7BG86tZ43G9kxBmlEbNimpStkjTs8xL+CFiA2mgsXWIn1YOXiF5zhD\nrnY45kRI0OTCpXgOGxblpEgl9mJkRYkPFzXWWxLk+EQobtQyBRhU8nE71Lg6\nRTRrfsI+Sha+1aQRTAVuzywAnUk9MijigozPiKQwBgiaVYA1wsr0RitDFqAq\nfXeRrwFgRD3Kv2PC+0oihmWFBBQSX6fLVPynhWg0U8IOLfkcVtcQic+27w5k\nhd4THq6g9t2QLLQf99KKeOQDDlvBroz8o5Eavzv1dhyDw29c38s+pxiMU4M9\nTxWuHnVA3bFT19ycIoy81NgSHDUi2TMIm4HUiObStO606uC9fjzK3QpmskV0\ntINSGS7zwSXKkaNbW9vQYkS5C1ATaQKYSaz7tGVlYos7ifFHIY6h2yHurWbq\nSS2w+7KUgjx3Qg/R1/t+Dz4mOnSkiqQxBTYNDUtVT9ii5TkxFNTttPnnWG86\nCRTw57A6TY3wOj+q4wR6rkbBAfYk0pH2Fw6lmNnUpWez4QPBgnJHYt5FwgxV\nnAsdlC+oXQnk1vQ9G6xeKZMt1bjIADsdSc/X4bRKLJXI9KwF9a62uc8/ChJj\npiak\r\n=FvL5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRRBNvH1ILgIezAi9yLIT0scayhUFCgtHzBpptebtL4QIhAObqIkZNLoCVgCJ8yvfH9HYnXVfBKvSiV+30xeMoSi4Y"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223416837.10_1618792710157_0.8298647384524145"},"_hasShrinkwrap":false},"2.1.1-nightly.223534090.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223534090.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223534090.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223534090.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223534090.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-cIyVL2ky2RMKS3Qxda7jbHE6J0EeIqO9nh+yqEawjJMM8WcSXL23IGGCGHtEsgnhibtMANO3JFOrX9so/lk+Fg==","shasum":"c3f6f9f9f4b2a6a9c3b150fcf9d433daa780458a","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223534090.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfiPnCRA9TVsSAnZWagAAtVIP/2B6Kx9WSWUNaAASnSOw\nbsvtgyhv/TOx0XEG2+KbMlkyxnJxuaPGKbcwt7YKEcGskWeBiJaHNBgVhT2U\nsI7/rYb2VlVz+j9HU9qT45lKce+Wu6MBdC2NVEDIqJwLYWka3SHaI1ukHChr\n1oUoqqVsguCxtea24wwQ+4tvhERx+2iRpxPsBp98Q3iQtDFW11b265W/CoYL\nEzbexKFmwZjiakigq4ZbWBjjlp7PmzcziEqVkN2DqNmKnZUbNZtZPWw1ORsx\nLHNg7Or+jXKvRsrJiGsZmTaVApQEnGAbkST3ep0fOZSD30ScQsJTAku86bfe\niEM4U/1TDS9s0j+OJSJqm4K5X1NJMZ9oPGEhkC339UDPH0jk+UgYEeSTNBF/\n74bQfZPdSBU5YvYaCzAfK1VfHZ/SZVek90Q+c3KW6tdyPwL2Gx2S0i9lykge\nJM5UHBW+8WvxSkLjKNl8gtOTeoss70LATvpFzLhzFTzuEQLpjVPDDHkaFCtk\nK4bNCBOBpwgJIIrFUoXEJSMoDFNT74vmCxmosDL1tUScIh3QTRAWsGrXreUV\n9RbLPnfyk1BidoPzBe16Zqlc88lmAyLjEH1biwOdmZ/IMmXZbyRm7KLPYMS2\n/7puIfbyJmjbFrNOFP8HGmdZFy/k/LeRp52sul9iThGNWG+GcMxi+lMB4c46\nusuo\r\n=rMn4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBf1HkGdTtuisYMBtRAb30hdBvQWYVUYSARd3o7zkmdSAiEAj97wTwgOfSie8mssLCEWReRtRqv3f7qbfDEiFTXZrog="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223534090.10_1618879462638_0.9312123581369323"},"_hasShrinkwrap":false},"2.1.1-nightly.223809396.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223809396.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223809396.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223809396.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223809396.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-riJ/IKzN8pqusv9gZcrRQBeQoQwTYFeV+iEZOnn33exS/niWzmLRhXCrMHVMH8ksyQv6V9AETLxgGUDw7b4JMg==","shasum":"5aa14d63a727b7e7de9324639b53078b7df369d8","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223809396.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggMZICRA9TVsSAnZWagAAPIgP/jY/BtbTGNJuhqLuoOV4\nx2DMm3yTU2IqaluPehosTskyomFGLKHOibt/o2HgdNZ3xdQOtTaPICDsSmR2\nKk/AGOGO+P1np8UkYb77fMGPsu8tWlgZzvN4ujfb/QlKO948OTHXH1ktP3Vy\nTtotN053olmdK4QwJPXVCZWNB9OygX8rTXwJDfw/ZKkKiSixt524cKQFeK0X\nCBJMfx/hsGvYqdSC9gXsw9JiO4tVZ05TOnebqmY86xk3Q1s2YSySsHQ0XRyh\nDfl90QgHqD9NAIuKDiYSakzfQma8+kuaQ/Tv7t/3uVmdvFGzJ6u2qR4wGn65\nbuNCAvP3EFfxYsZFBVfsErmyV5m0oaCC7q2wwvmBj/2szP0juOSGYPR8WtVi\nhYA62eXDEY19TxgW/sThInhMTF/q8MxC92jhpVFL3QTYXtAgysfdQGexuQ7C\n6plCj5931owaHmC1RdW4EiakjbfXlxCe4nce07qwIZLP+Cl1CC+eEhU1zIO7\nYgnrTxQgJREmBcimEIuZKMBLg3y3ObmKiixUSM1aETObmEK81IVyFaD6Aegf\npMOJFg+dMle9nZv58/nrbpeVBfUd1IRrMQxAc1s1VnKLswkpLi1gDAZvHIFp\nkVHHiuFrzWOED8aWyucqWK4ESEWuZ8xy3+1x2U9t3prqIXXIjbIj5sbMnSEN\ncy2L\r\n=px8F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfz5sgyKv/jteTz/2HJVjgkdFVolrwqWByZuCPJ1/SZAiEAmXCr4cSdrYUdko4Pv3MgTbbIbnwBvOBBDbZrPVGBvmc="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223809396.10_1619052103887_0.6911099421581255"},"_hasShrinkwrap":false},"2.1.1-nightly.223941226.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.223941226.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.223941226.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.223941226.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.223941226.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-h1TcKyJEpn4iWpVyWU1qA9UzdZ4kKNhtZic305SuQVbkAMrXc4hU+pCAlVFF8LrmTq1d44183DiE7ssK7reoZw==","shasum":"a384c0e6cf7be18ed93e71455373730fe8182404","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.223941226.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgghffCRA9TVsSAnZWagAAwBsP/02irQHR7JTamatPHeiw\nmfoFIkl7ipA7nNj7aWaJgob5EyyWkmizprYbIhJTbupYO7dEpP1/frJF5W5O\n45umWI4ZQcqYjNdc6DRpOW5HEyS8h0EUh0SbemkJ69/vcsgQFjAJgBCPc2mx\n/KWS3UObYpx1Oh/JWD+9Y4JEaOneOOsS4fry/Ng+50Aralmth7HXd4Ds5zrv\nhWH9ROW2/6f+qkJj3gFcd1/gevNHpVUxhhWWvOQSfdCUpNjMFUchZCDrITyV\nn03IGIuOjJQGeMq5FwPin7zodHzb6w0VajjqvYvwRSTc338tOaEBiGlQuD7p\n3mKj0dVhltCSegxYkdEuI2eQfuCxnf25n+z+XJO1sL1DUak1wPSPyEbMqdRj\nK/TWJHKokhd2wdVCX+h1tEQtt9vveYlYbg3HsnPv9y7EabpIFu3FlMfWY4eC\nCLh33gppbSEuZD+z99z5o3TbX+bCBRZb+njtdqV06Ir2YziDnIVMslEQLAMi\nM8+s2Y+1oIvnmlswvZY6FBzoSnKrovrgNUTv5T7YvvaMlaZkFzv6iRjTiCkK\n86I5TdTBppzUfzi5PkNO3b7ifHbTKP+WIdWjgEJ+SnbwZeb+pvDswMOu4oEW\nS6WshWFkhZn9/7XAzoCSeIyFemKJVlRaOq35uoOxC6uQ14ztAau9y3KriLWv\nxxvZ\r\n=AtxD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9n409oU0YU9Nqxl1OEtLs1PUElicDZGWrgUypSeTfdwIhAPADsFkbsitrpn6iNDboTVu/q0U7twgV5mPlJ5JAtems"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.223941226.10_1619138526455_0.8462891895977758"},"_hasShrinkwrap":false},"2.1.1-nightly.224042439.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224042439.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224042439.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224042439.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224042439.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-2AbrwwdhtdVt6NSdBh1/fCcXDaZtQwXdjof4Lpol9FZ14tODAiYN1vtd0k96grieMK/xPQ+J3fD9VaqKnobCqQ==","shasum":"fa9e5cd3d5c87818488f30e0958c83c313042c2a","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224042439.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgg2mRCRA9TVsSAnZWagAAjs4QAIlQigW2STgDr3dGGFc4\nldR1HZk+RcmcxVI731+IV7ihQn845u+d3PRRKWaiSYptipCvjahxxOyfqR1O\nTzQcba7mmKUvg4UHTJ+g2IYwmvuPSht/fHkXSlYGGOCYIO/GKnoKKheOzy/8\n4+y2o8k6DhCcjSRrhr8RlNen4mb1tkq+jYo9q8cFphEsbL+fNk2qeF+Slkuh\ni8G9Ne/YEaPWLM/znXerxNxHiOVlHoDTvyF8AFj4PX5MueDKp2gcdcbQkJYu\nyyp/pi+C0ZIN/sfli3aXsiQIT9UGAqXI1/FSfJxLu1AoFEZ8X6JcmcsGWKV9\nLxVkXcrrwYn4bGAH0OqFuWJ7zTUINkMb2KD7tkP2FQHJ6EPPAlb/8MREEieO\ns3bpOmDELoSjpXgDmZOQ2BZf74tY/RQWjcappvc10JpyUoHFmyQnua32OmEZ\nhpPMCPviL6+xESyhCqkRhCsEmrQq/pnKeoaT7PJPSYmbasbSYvnOyh9WUf0a\nFSuNJBmT/EtrzQV7UKAV4WghaOkTthpjFule1+faPxpUyZNVRPdTNgrtRM1E\nBcSb4VIAnBSmTg+EkPDJehR2ExpOv6kmqBbNtvmj6125vcMBOlHkc4L3db8J\nGvPCqhu+MJsvmYCY76raFJzJqaabghsGaW3UbEwM3RnorYr+GAXZClbAjf1a\nbfX+\r\n=AU1C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHluk1M4C2IHVDwJd2Ntm+Mnr8sEui2+mjdwRPJYKKrqAiEA7fGhLK0RjURimAIxFN3YsyjJiYEHa6ENjjfQil0aDsY="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224042439.10_1619224977421_0.11353834656647588"},"_hasShrinkwrap":false},"2.1.1-nightly.224076856.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224076856.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224076856.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224076856.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224076856.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-6uFL7ju8i4CMQCp+/uIuxv0Fm0F/vJI79RfhFuEOCY1MNChrdrWWF565IS60I0Ff4Zl4dS8qyroL1HrKbVKgVA==","shasum":"a2727c7028d873dc5c0af8621c4adb7c92126dc1","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224076856.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghLsNCRA9TVsSAnZWagAAMysP/R2rj6khsu4aE6zB7gmS\nDlHEEtdxrvGEsCGVg63UTRtF73QtZrC9vO2lCvHtwkUZzMIEgIaSM2azOvyY\n8C3gtwbQeo+KGLQqXHgtWWyPRqdKkb3gpF0ROLtZHD+k5jPD3qVuoAqFCFmo\nua4KBOZBiezXBUBqSUzUyoNbAU2YicI1AQwoHl+RZqJROs2sn3DSw3M9Iqrh\n12Ij19xaDVmAbZa67ZC3DBCl+dHAm0IaY0Gmxzv1T40DS2gfrvvwF9GdueDP\nMV5W5twHY9IiOjl19+35ldznJWOBAtGmxlsNhPqCGfwV7LsZaYDoislFZkgJ\nCNYYgeCOisOzRa0JtWV0m7mmAlKKUPU0ZN9DqwMygfdfn0pOV1Ljb1aLkhaa\nR3VF/gKFxO9c3hLw3B0gDBN5Tv/Cd/NsqUOoaHS7cmc+Wxdm+190P4olmGeh\n82rqQ7FlCpnqdjFXU6UbYl159tjYZDIsfVwARZTHX9pTCZOA3FE5L6fohWcz\nl2gHYdKdjYb+fApWg/v5AOBZmNssHjJAFUJlBd+5mpL84s08DN7hmOxw/KYD\nGmLV5e8FqGQvY7XJIOrMfUjsIuJFSj8/SId7lUjc06oj4U1wHVQtkd/ooMt/\n/1lp6EBvmpAPivuma0kOQNO5GtqqoaITxV4rYu02MLc2ARYppaXv5y6UHPwh\nWJWO\r\n=+eEi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEzwquV8ArtSmviZtohZTFEf1/sJM0Vxuz4UJq9Y44qAIhAJ84aWD1EjWlMUyhDRB0pN0rjV69usYfp4zGZUb59gQG"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224076856.10_1619311373095_0.41400372444458866"},"_hasShrinkwrap":false},"2.1.1-nightly.224104607.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224104607.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224104607.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224104607.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224104607.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-6qQOWCQ8Q6Qyd+JQ1btedeeleT3v1hnMOmORvBTK1ge9wR8sNCNEP0CKtF3bIfFWJYDxSI+7zkLnQ0XmfHo1IA==","shasum":"80922d39f142e03a6faa8e8fb62cd055f360b547","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224104607.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghgyCCRA9TVsSAnZWagAA1poP/2TXc1weib+Ezcqfs3pg\n6MTejT2DQFp8mEYFtoJb0jRZ8nOuY5uDKqGMbQDBwGILBIx481bLGBX13+dL\n3iZSK6n2UotVi+U+o9xoM79/Ci/iLjKfET7ohquwEJJpRANmvIHwtrkMuzKM\ngUJDbKgncN029ndsG73SEZv1J7m6LKSXkMO4+ihQGVXPmR0vhe8ac2rjBHiG\nLnoxDkG6OVFh4V1Fin1KeqH5LUx6fP3Eb4FUXcf7H7nWPD5WoldhG/vjts+8\nDr6BGlf78Sixnfb6Bz0yW84ZJSRziNZTmQaMSmDX9NFLLpz4N3Ji6dbHRRbF\nne8C3WKWEfIuMu5+Fiov56yMjNQepyJb8C9IcJp5m6amUNA9vpE9QBmWraUc\n5lmIriWIEnYIOY05QJQHyijmz1KYl/LDDSBh5AaIcBxQwlffuD6qHKBTZwi8\nZqHWbm/zhBNBHiz2VvWBcdgd5bs1xo2FEryZNV2uVXGHO1SzRhVEqm946TMi\n/X+5/bmMrYuy3a8wFV7xTTVJf43sgN+fAYaGKVDGniDxy41yWsU3xQdu/eFN\nyNdwSNhaPc2waXR0s6Fg96hdU+UJUs4eOK0ee6NpkZcaLRWJStXLntIh0yoZ\nJi5e5cfcyXwJ3C0L50Fqt2PhyRCvlNDlbbQtTRXkEBzC5h6Slk0R1p53UkTq\nd7WT\r\n=HhM9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAgJxZ9m2XRL5cQiieQlmzzCPHQf0wACIuW5s5GRwDoXAiAN3VRAwxOgc672M909x4dj7nHPKzM9JsywuOb6Tg4qQQ=="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224104607.10_1619397762467_0.6232759812951265"},"_hasShrinkwrap":false},"2.1.1-nightly.224217643.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224217643.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224217643.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224217643.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224217643.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-XcKc9mwiSZFNyeOpVBCWRPCYi4WrqYawqZXXZA/v8JqX1GMpCk+aNlRdje8Zj9JGM4DVSP1kfBgdbSzAhI/ELg==","shasum":"da7f8c169a3a074c1eb1cd597360210727a4f288","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224217643.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh143CRA9TVsSAnZWagAA9ekP/0i50Ff41cR3zRc0JKya\nGuAkhkdhB1IJTGE4pzSkgJmN4Hrv/SeKVa7ACQVYda7OMNWzxSIcDXSePtzJ\nj1E/HxmoZEEz0CYSvir0zH7U/mVF9CzvJV2rpFEvUOiAKSG7dFDNn1ZJiGZH\n+y0C2AHaHwywd70EkxdBxLbI4tPy4dbIbvgudb/XoqexWuaiqACnPBxvqJZJ\neWzG1qlkWAgndsBS+ziRbBmxZwHIkRZIgWfmXCRKC3CYbVPVKX0Z6/S8N9AF\nsmTjDm/le5gen+5VjmpfdI4+fz9ep2ne5tWYcy86PRuJk5INuVe/G9zOsEki\n2v5ezavz4khE5R42wxHb6qJbwAMYgeyia0LqtatFvDCbEgSVRALHM4CMRWNm\nQ5dPJHroVyoCiZKS20XcNiJjUQW4v+vOLaeVE1qNWTZKlPxwlAKX42oPTUE6\ngtj1o5Ng5M9dW4S26bdVTjyBhiv5IGtU4C+6TQpsXGKi/bQeuBxnFh4tKlxD\nJxsm5LfF6xpZKa69TxsDFDLEIVZuzinM08sK5fsS7xj6xJoJuhY6Lep5uGl1\n+OcM4hWB2lk4c8MomjLlvI+XvnO8HIWXodgT7/nRbU3qorpFx3lWMq+tqY9U\nmVdKca1paYeJdawXdIzpN0fOZCQ6UDQ29X1th/sDSt33nHPXvOJ7e0ulXKxA\n/Xao\r\n=ZCPp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJFyFe1cYl4KeTE4dSlasdoseXr0LwggV2nEKTAIcYTwIgQl/H4kx2dDQgcEPlOqJeGq3WZOPhMNfCqUiX7/2kZzc="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224217643.10_1619484214994_0.49264018787846053"},"_hasShrinkwrap":false},"2.1.1-nightly.224332497.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224332497.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224332497.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224332497.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224332497.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-lIo3tbiFPmv7zBAAfhD1S0ZO/RM2TA6DW61EBo6MRYmdx+IWVEU0lEboUI/M2Bm4ZbqDsTMz5GvindHKgT1VNg==","shasum":"16a155c55630350384e2f8b4a6120bc7686143dc","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224332497.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiLAPCRA9TVsSAnZWagAADhkP/i/EB1DF/QIMxAV9tpvs\nobWrg5IQ85IUJR+mHkPXkgqs8zdQ4dqlLfLUJUyYjVmWHgT9E/b4PMAyyNFh\n/jkdDfksqu4aKWJcLwKV1d5DVXFzol9NOIfYi9FwZoGqPDf2dKeFcyYWItsn\nlLu2/7Sa+0j+qZWtUaKbHKQUT+7sEo4/BrUY68tL3jFCfgFe/Bc3kRUjaKAO\nE2Js3G10KpiWBrA4FxF/YaBlKE+qUooKmWQpaeE+jN9sWMY9n4dW1vK5xW2A\ngvkxGwRIjclzvq9E2EUU7pG6FJWdUebI1gE4Iy9ahjLs0BDQckxYK6BIqu8B\nDtZA3icZ5NBcJuPazPDIijvz41GFrQ7X9aW+6qqKYpspRahjfmu/Bvgbu8xE\nSCCtOUp7Kyh0BXxqRQZbN4yW6/8kaKP4Br8IDLmk7FrdbVxGnASzv63+FdaR\n7kNDP+ruLD+40IQKqHWIK0viigO7CTv3zRk85pSbJKLfCK4hFJQ8Kv01BhyO\nGy8DuLcerZ08F8bZ0BbGrrU3JpU+1P3AKoL/zYdTOv2386jqgdOM80yueIjC\nHjXbUBaOnRrK5uayI4/zRPoKxvJSnSTJjDVgLvF3a84lF+NFWXX+z8WnwoVh\nMFgZnUYlogTqYSJdGqBasZIuVef5ZRipTp3io1PknI8jnmo/Gr5zmrsR67Ft\nEp7U\r\n=Kzno\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjv//mshM/gEV6KHkwY1zSE/pQ/himJb7t0HzhS9CNDAIhAP9WZ7wcPeqci830SsROfyJSa+RjjHv0PFG0EyxeDbOz"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224332497.10_1619570703158_0.23653758221209276"},"_hasShrinkwrap":false},"2.1.1-nightly.224450567.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224450567.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224450567.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224450567.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224450567.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-zzQgWSBFulywuN8EKeCOZTtGRa64RJU0d9WXj35mtv75quZIwY9HT7ltwLHHCCarugVJeblM9KhsciQ/0oYu6A==","shasum":"29ab23fbdf5b22c5610c863ec6b1c4f29f281456","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224450567.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgigHGCRA9TVsSAnZWagAAVusP/2cyyiDf8CgNqs4Ka3fc\nYfvz5Ra523Mdp6KQnJn80pU880IDOUj/NRYpZisuD2uaTzPwb2Nfh3T0ONf8\no2l9RCzqK82Y85p4gYBrRvxfC2pfSniJG9ewkhPuukFo2CTZtdCZc1mecl1x\nSA49Yj90YOJRvwEZjwphFxtBYFBytDkn20YOgzGXo2O2/92HFCkomsROx2gX\nT0k5x2uJSt3ACsNPVCQayF0+xX2UIR+3JqaJYZVgRtouR8Sgnfp8+Jk4Kynw\nleClnmUWq9R7+mHiJHAdq73YO40XM6vMEv/BYIm/wZIITxpNv8gSru+Cb1WQ\n2k4lGdGCMORjzEHxgmV4mgFKq5C/LRU4AtaBiuPq890trTisokYZ/xd2vIV4\nAzNYYLE9pwRUca1IZmUBKuTQFC6ykJbIBwLGfkFIawOuDJskmQ8d5l9eZGYd\nWGFN3Z1eQ5ijc9zFBLJ4IlMrd6M7z/fcp58AV+/w2GqhijsY9yG40J03g0Th\ntVxLPpyoL1hAf/uqMhs0jbo+JtXPGLZxJuPw5/ybvECLl543Jgv5B42lUPmW\nVk3g74cw0pzJ9kVXBUJmdIFp5O+x3Px3JrR/Jaigc5/NlZoOnj0B9fRpjlnf\nhuze4WcAfx7YIN2BMXU8bnMltTrdYdSaAWRQNesaJ2UjQMgYpaUq7WwvNmXa\n5/D/\r\n=aEvy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdWbfWcmP8IVYhAzHQTmHhefJEKnI2syDmv7mFR8ek4AiEApvg5cVldKsnBNzi8NKzH2XCB6+tX0y1u0b+wlOTdjHM="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224450567.10_1619657157445_0.1034242548278137"},"_hasShrinkwrap":false},"2.1.1-nightly.224565873.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224565873.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224565873.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224565873.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224565873.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-co4uuHmlGJsNLhqzT3gEhbslDWhv57aQUVfIYFmhOdnngDnSYwJn64RxYdmPU+W+EOet4cSYsNAzoL4S3pqIdQ==","shasum":"d3870f53427e1a2ac9d91fd13fed7ce2f258aa50","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224565873.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgi1OJCRA9TVsSAnZWagAAw0sP/jMu+fMtkzpa39uO+1lK\nSJqLM70Ovs/FeH4jD4lIrnQhf6PNrGa1eL5wdTgX1iljYLIRv6fuIMDYv/Jj\nGXqf8hUhDGCL8XPAh4zhuP4uJjBR358ALPeK08GmZdwKoOSjSMBI0tPEERxx\nBfITby68d3gE4SZkG3QpqY174+8RTiW6LlKrThs56KPiHmF0fUzoedW6/HTz\n/7bcghb6UwVa2aWte7jrTt5agoETBjkMUfCLAUPjoFYNqtFV5vfIsEowoyAc\ne5+dZs1JhLqSbXVDnLkl+h1+4qnPCKH+O+9oOG6cAyIdMKw1MXML95XucJS6\nJM/JnUBOviNWTY3CHDtEhvQ6MGhGY1nNpRq7kdyjnPwQ4eviVvQb4ipHH9ZL\n9W79pvQGYl8QgkNWzpqOqo+HH2ewhp27CMo2INZ498sOc3q1qbOIrjilgZN8\n0T0CTshSZEbeZbr02hxlEelrkQtNZobwg+INt1lSU85N1o35fhF2dLtKKUTF\n832P7JKqfCJUSuyhq4VR6UHdjtTbYxmVlH8zycEjV1KWna1ItcDlndXr2b50\nB373xvOEWMgTThgLgUobnpb1x8Ec/LQCmuJscRwqUpk6wKtomTiDrC3hTsrS\n+9v76qrTA/VPDGHHb3V03p6zFdSd/VaD7AXa3R5oYK62bo36O/QeGUDjaIMb\n2kAK\r\n=qlAY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1TtGhWBrnyqYaAJGOFqnJBBF9Lh48uRTGyN+IAPbjuQIgdFj+sq31jHNxMD9ZG6jd0MkMuUNRMprG94v/dty1mXg="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224565873.10_1619743625357_0.2573255884576795"},"_hasShrinkwrap":false},"2.1.1-nightly.224674011.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224674011.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224674011.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224674011.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224674011.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-kEECp9+55PriQ+U+20WSEvkr6gg8eJyeXcvrJUGADXYKSGFSTwvizu2rTx1zit84bQb7we11W8jaxV8x8R9N9g==","shasum":"0b35ef7c2aea44fcfc3ae206d4b5dafe35c39dcc","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224674011.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjKT+CRA9TVsSAnZWagAARtkQAJgdsr0OzlZnaLGeJChK\ncGAp3GLcKGUbivvOrNjO23ZnabvO3Q2OopR+MH2+BHeQWI/5DFsqU246PLZM\n9+z2WmPwHJej+by3xR15IXaPdX2rE0LmEMfTZE28CEW1C7j/cfUQ44h++r7k\nY6dsRe5pyzPjUsOIOhShTkdOVnv4XYSsyw2xQwtA+PHbR9VYuctkybZTI5XC\nDMoGmNqXqPQ4l+47hobY+ujWbFhPdltzkMW6I672pNb5WqIgiyj6LMfd9jec\nVbUioMi+8i9/cBYYEvGPEsJN4Ga4uQ6Vlcd0wJLG6gqFs8jOHqauqvWVO4tR\nB6jX/iBb4PhiB4Mq0lowvBiwpN2iw17aOmdYchpYk7LVUUWc10z7LNE9Tn+S\nkDB4RHqGu/NOj0mVSWfZEhiSHC5K3dj5EbgvM6hYgwQrvaHRwc+57PFk+Ub4\nQdUP+np8VgzIPQxvsett30UnCXyBAOdMUKbHKDWjRR9MoVLLqvJIVpPI7b1A\nzmzJy/DsMSwgW9qnJmeWMGgNkUD4VYqTmsDvUXh8byHVWd799+YMRO9F9CuA\nlXbZ1sBp2zQsCD5vlnzJtrNXEOr7aKO5X8VbQX2wlJBJnUOutKnR81jCh/5w\n2ys/cnpCDsy43otDaiV17Orhgx6fwMWV9FPipfxu72xSBxUhje8c3ySpPiYz\nB78p\r\n=FmQK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi6YjENzfRu5flZCXJNPJgxuheKABrQiKhAj24et8tkQIgWy5+VlRbPrXdjlv/CbECKbb3QyUk8Z4X3T9ykHtUe6M="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224674011.10_1619830013690_0.9084654706293869"},"_hasShrinkwrap":false},"2.1.1-nightly.224699870.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224699870.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224699870.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224699870.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224699870.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-qSM086P/UJD+zSnh4xNw5OUgeGRj26hESELpQL61TY1wGZKoL9w2zaPnTPUQBanaayzI+kHtlghrKcAbrbK5Ig==","shasum":"cb20028f3af4169e36aac3583bd2ee8e85da6e20","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224699870.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjfaTCRA9TVsSAnZWagAAcMkP/1wW+SLPzffkOyfW+7gA\npx/jG2P8iGcH7sC4GAbnQO1qBy9Fbv9hC0dr3PBW4i3CZXX3yJ6fMuMBd+PY\na8pQWd6FN+rZ2LO6k1xoTiwhB2QvCGPIKjC7GxrRHVzbZZ+mmsygUbFKIbiM\n8x4gD+ShX5UPpzE5MmUhZ7p2nO7EG4AwGLydt51HnrxhhVznSBpblePf5y2m\n5RT5xq/ThjAhCXFXtGnX9v+9uRIVTGBaguWqQuFaMNMEOAs5v9G1xxMxu1zP\nktXNGd05ULtM2wKVwp+R6/JMy6bBp1k1FNDOgRywQqQ3IPyJxSQ958qpDoUY\nnN02MT3RpzSweEXeVHVFsPegeAWoRJBH7UcyVeX5Ld9SErY+uPdiOVMYa8iO\nGY15HZOEjrE+ivmTfuVvUcB465pYVGJ2BUIwP4fvuZdphNWqyk4ETZgO8TCH\nmQiOA+125i1/habxk1toFUyvwu4ex79p6qpztGI55ktRf4Z3oNjsg5VEVXvV\n6YewIAwDrEo0sEuaiuMim72T1s9uIo1kPrGM98yDBXYpNxDF6/QoOwhErGzu\nHXkypXBmpT05OFJZrDJE3mFH43z5/VcJ9oRewu1uxrd8b80OWiTgMfYukfKy\n0Dt7sF7NF/xA+7BJg6TGN/9qOKSBycvDAO/+zep3HHyQQGUSeoy4MdW//T1u\nExxO\r\n=cZ9H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0lQSWdVW0Iy5soM3imdACBSNTO2pCefDrftu/uS0GFwIgd95hs15IBZiX/Se5aEWLV+qDIX42A97wYa/VAFixTpk="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224699870.10_1619916434477_0.4032146333174844"},"_hasShrinkwrap":false},"2.1.1-nightly.224725748.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224725748.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224725748.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224725748.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224725748.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-Vr/fal84z4EP8IzV9mTStt9lIgVKAKHXCtyMyzqfRgX4MSzurekeoPKyhEoTs1Hq0WDfwXhweP9XTfHmwYdKQg==","shasum":"255a656eed86fcb8b6a4dd2a32be9aab333a9ec5","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224725748.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgj0gsCRA9TVsSAnZWagAAolYQAJ6lO55QtIhgz72jjBTW\n14JRm8NH6KpOWbHGsx3cT2vwiPTx6hXm4xY3MQ+SVPbtk1a3TObOE60SFhJ2\nGpIRHZUVayYCQXBkzNIj7Onyivlqdjgf5qK9IzH3AmfAnocuZKUQPwqJY4sm\nwA0ClmP1YtjHSHjWvWECJ2izzux71qzaOB+eTKN74tp5MlifZ7bFpp2n7gzu\nXnOf8Vngws8jIS1SZaLacMLflj1+IL1QB2PT+i9QWGZ7fNc/II2nQl/9Y+y1\nJskSBPhLMn60hphAUvYe/L2w5QT0rgC/u0qS79SDO4hsFpA8coezOKiAK2k1\nazHkGKK+/Xz2a1v6OK9yKRRxQ6VbzOelAOX93/QQdgY2sMVtj4AQJWBdMRKb\nBGgirAIRek6estUe35d0EFNPuwQvy86MACcG4WweV3pK6q6yHZv2177gnMmc\nTltc7hcVxPEcPkKTvdEHPQ8xxyjr5hUIBTKEP5xTiN1cC/6n2W5H3WacEPmW\n4BjT7MYVRAQN/DgYSM3QxjebMM7HuwZlxiqjOdSCNXYfA/lhUfv1IFPnDCfY\nr4Yn6p7YLGdaYu8z9qAVwQiZz+1zH34r+a2Zr/LFT2QlFdahurabSzQ8xFpL\n4cFZ8FP3shrp85+wv0tOV7OjnQxnIaunwVaI6jW+MRV0ZyolvYY8mvEfQTGE\nJPNN\r\n=9ffF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICl1Wd+ythL5aHMLOfa9kWfdzRZsQKC0sgj2PB+4DQIkAiEAgkCp4t6sB+yHfMDXOfp/qsMxlsQnvrzDokj6qlQC33s="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224725748.10_1620002859934_0.00039624073275335014"},"_hasShrinkwrap":false},"2.1.1-nightly.224815506.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224815506.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224815506.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224815506.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224815506.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-6XQ3xtNp3sNHObNYpSyYl0ACvWoIYG5d2E9CkqtDkUlLoe/EVCY76f8SL1FLSazR1yvuIW5AWVJteDK+vhGkOw==","shasum":"19934ffb024d9153f315cfff2ed41baad1f847d1","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224815506.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkJpjCRA9TVsSAnZWagAATc8QAJXBZOWR5+z5A7Wvr2sC\nWdasezqLwQheOqcddUat0ikJ9uCNJs+LHrZ0uPS35So5E7MiSWKQRFgPmcE4\nxHIUk7n709scV9ITlpILE3K1A2zXRhJ6AdRoecD+NTJJ4q6uIAj8V45VVkl/\nwuQ3Ln8FNz9r90WAxblzIUnQx6Ba6x+LLOfHQPrxTShAIUxawYWLjADVZvX4\nH+pD7p2eXL0BchJ9vTnHD7P+hjqDlhzSSZb2fVAVSglqUPn/Xsj3vyTsvAdZ\nrSwLVPbgpo+X0n2rI/yMeLOqLKGCzRzCuLdnRGaopcOlbFeUbejjoxGzSNto\nH07XF3bY6ReMcwdvmkoN3p4fPb4TQjZ+oZm+jlbDRvkVzLydDoYfvVCMXNog\ncY4idbpujRMhPj3Kns5w/qPaYB8PZH3IhM2JJBUeoKmtPJEARIs9UqYFqUiV\nMPZi5Xhxc3Qu4dASAfHYGAxOlJjptdAoe3r77Wry6ldNJvyY5D4KWe5Aqga9\nXfT4/lVcdoHxj1yY+v23K2EufoK/VHj+xy6EdwjxwOg4QFP4VhnD3lYcsPmy\n5/CjJGZ9WXC+jdsZ6gqDVpBoJoRWS+Zal9HKCcd9ek0e23DuosAlw9nCu2ax\nH7BS+vCTJ2PMZ04tg9eAykgc4vqkvId1IK/oa8/WAnX2w/IQldHm2TmH7EdO\nUwcb\r\n=NBqK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeOepnpqZ6aMXYZK2tliKomO/Dc2lqX5sN/m1Hw1/5+wIgbP5aBLBoeFC0ZhJFCUe/CfOmWuo2YUXFqzCqsRhzJD4="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224815506.10_1620089442279_0.3584018825726194"},"_hasShrinkwrap":false},"2.1.1-nightly.224921011.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.224921011.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.224921011.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.224921011.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.224921011.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-BaibFGK++dP5BpB2mxBXE7pvd9uEuahaAL32n4ThxI6CcTHfS+s1DeVhsGndNxVjIxfEGXeSvzIOYqhbpftQpw==","shasum":"2aa55b5f5edaa3c23277437db0c5c6bce6d020a2","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.224921011.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgketmCRA9TVsSAnZWagAATzsP/iWW60hJ+cCII9JGHgKI\n69N+T26QpmNNKakBJ5uvRBKzo+EtEu4HGlFmF90TTCaesziQEXxEuNIgvHET\nq96d+gdHKGJIAUZns2WEPe3uz4Ch40myoveOzw14FtWhTQnhjNcSs2W9sF/L\nadyd+Xm99Zv8H6uL3zFXr41BtKFFgobGac3KEuqzE+X1DVA39xXmTeVqoJvT\nAfkVkIZ4T4ycEb+b4z/StUz3xAT1IVD+P6VCKjkDrifAW8FgRkIwHAbRPb+O\ngrvBoznufpnyqfiLZvYrDcoIyxGidVrRVMktLVVnaMNK3FbcbyprSxRrYTdU\nw+5Lwq5aDvlzjK/9vx+edWSwDXu6u0IOU05n6TRMQfl58KTrGuj3QjjMmeEd\ntTlEbMwcSecbDPr6nphN+5mECaBdCgdyOo7J6ywiKpXndI0ZMmDZzKVd1Pcr\nmiMjcla84T3aKZATeo7B8uPXX2pyqQIs5x8pXaEVSj7q50MgzfImrDE0G5yX\noOYq6U1Vmz04JlFveBPncjSb10KA0xONEUe1zKmall2OB+iQyLQz9dE2oPot\nLLOXO66u+pdgm5gDqLGk+/WfxnbtbtqbwH6TOMXIWwySLeQ0yNOnn5LwvuGe\nChFAjEXq+bqdjkNzp1JL/dX5JwIrmrP+CKVRZD5DSP5Lgc2AQs7kSLcWUYFb\nOr9C\r\n=ztnh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4NogxHVEB3lWB4Y2FqDnPfT3gUi1/yW6i+Ltfw7MeIAIhAOe7X4ydPZ6AmuI5+Vx2YpXK8jQkUsylrR5HIl2r5Vzx"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.224921011.10_1620175717878_0.7792197654657389"},"_hasShrinkwrap":false},"2.1.1-nightly.225026743.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.225026743.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.225026743.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.225026743.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.225026743.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-HdxFRRlTcxzEgjNwGPTTeFd+vT+qGFAAbbVq3vEojdEehOKfrdPYqNp0k9yfkLaP5yRcP5L2u5q3JENPaq7TTA==","shasum":"f129c99d332e7f1843258f308c2c7d14c6c8e07f","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.225026743.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkzz4CRA9TVsSAnZWagAA3vUQAIB9gGptbslvVrQ6NhJl\nodrvKUQB7lvWVVgQuxXMiIxwlOFOHwe0g2E9YznpCwvnNT/YjOK4/LecYz1c\nKF+OCa0nVtT61upFY1RdRMe0YdNRQPI3zuKmlhdFUzsPJdPqqlTOskJCYZVY\n/LuM9lL8mHIbmpymXWidpj13di3fmp71U4xqCasnfBYPjuZNbYfPfVag92/J\nS4m2ffztUcq2XPcv/RM+CGfaTUUWfHp8/tKFFowUVzJgO8i9MUpMAwSVYzJg\ndUUX7swiq02iL3+LWn2LdHU5Y7FT05kD9+G8h322LBHErJXfyGZZMP59VFoM\n0MEWUWecoy1Ot54wvR21cRR+rMsBAxK/bhiVoYEJzNMMiQOqs/qZ2MfJZN9+\numCU1TaA1eK6PgoMsIZMuUaCnxWrhAiHHZj5Y41z3+7/BTrJZmruH/hOfARb\nSzhqGtV+0Dt/zWBY8jQR3LVsj5ooJCEX7uIaYFjMKA9QeRNZlRuke4YXsg/2\n1BqLZQMWHGHrxdDwPJA68OrdipQCZxuSrL3RaTVr7+YYnNW0K+SnmIP287M9\nSH0RPy1O5fDkCGS6TGYnpis6q1jIaMLijwHM5gG8aX1VYtFcAudSjE/S4glb\nzGshhhq3xg0rp/Dnkk/XYoQCgc3gPuURqyfwGlF3cGB4AtA3a8nPpln0Vmp9\nCj/U\r\n=7/PV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYf/uXPDHgSevKHRz5jWKkmv3MChb+FnxOTnodZH6BJwIhAOVmyRlcM+mSCar7CFggwsIw/hcq4ZAhgd0mOCm7szgM"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.225026743.10_1620262135689_0.566610579090006"},"_hasShrinkwrap":false},"2.1.1-nightly.225146630.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.225146630.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.225146630.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.225146630.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.225146630.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-+IYnbT5YAJNk6hxAXw3T42zeGTqD9SsHCotQfAkYTPPSQ3E7dNl5AAugQcTE1SYi7B4n4xfNUW7BO9gptNh2Ew==","shasum":"b7bac503fec9c4e0a55650683a38bf3c6f4af198","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.225146630.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglI65CRA9TVsSAnZWagAAH5EP/RU3WYQqD2aS7toZ5bAT\n/tugSKb0p/KjNl6RbfQqGmGyh1S44TObZqAdND5zo5rUSBUubP7ZPrsOorzN\naESuzMRYZCb4KrSKyX1ytHlMGTWAXDcWAc5g/0ofN5bgtwk7IOys2EogoNa5\n1lRxK7/30xd5x1rV5sqTGoRl7+4stWpqNw6E8Jumms9atYNxgBUdBi7oZUsj\n5cTajjXG2b6qnoGSIjn9l+TlnXQvLeZbyo1P+6QUQMEZEWNZ0xoIZezJAjrg\nWifXEMhXrnlIDpTtl/gerIqUjHDD5Fo/5yH9qnWE2lKqjU50gFp7zPwp6lTg\ngAGu9tNeLAVudRr+oiGll3wbmn9X9zOjiuqPKAulumEa9KVBW80YAn9fNJAK\nWEDbUGuvsi4uJMJ4n/k6NKvhE3Wk03dmKgsdJYx8AHaxLrMzN/BE8jdnnnU/\n8O/lVf75OHF+Y3we5HhAZEvOwei4ZvSjw0ehCAg1iTkkluXu+D+PLnjfZinz\nSva8rcT/1QXp3iqyLRiTMKNEeosHXfMYrfQsj+QgLtOXs/nDDxi1iZA564rE\nXQndzsrQ0T3Kv+jPeniA8++X051SHbQ7URjpGACUbXqhpDy3XSf7zQih+EiN\n3d5SOUrjkV/nRLhO2uDh/n7r5D3E0Y+4x6o+Xmyuty6nDZb63N+539dqI0JS\nbd5u\r\n=P2tw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEdlcmZynannovro0ofGG8LaTLKZVvv7+xhpSEpzId0gIgWg3gBxLlBlkjYVbwdtMAaJuEzZ8E2mLQtKclrUJE6io="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.225146630.10_1620348601128_0.732444019875149"},"_hasShrinkwrap":false},"2.1.1-nightly.225272623.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.225272623.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.225272623.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.225272623.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.225272623.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-vgEp6uS/uJA1RZE5cO0oxviCxDUeDyJoqHFVHpgm/SpVG0Qs/ITcK7TplSsku2AzJ0CttxrffLDETkEljVErFw==","shasum":"a5e303d8f562444a788dea819c96f9725b54c2ac","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.225272623.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgleA6CRA9TVsSAnZWagAA3I8P/33OzhkASDhJ+RpwScHN\nb2YOuvDed7CeRQOld3uS/C+N0oYM+hWZTcSQJl6dscvBuG3WX0VnOQOwjAmY\nUX3k11Qmq6a/2eAEk5C+Fgq6l1i+uyHQJ83UibGuCGXWg76g1JT91jUJIUZj\niuIsvyNdqueutiJ4Om1XAzHUw4hAJapyxlCFwKp4QaH0vc/JEzheJ07L5aie\n1HOrc9TA/KasE76M7YbP35cyNUO5bWSW5njrl3hOI6OhqBzb6Byv7N/77Guj\nSTqoM0HwB0Nasf8R4t02JZxRjD2lRWI87cEMUnd+EB+N04tR8RTuTiHqdn+H\nv54mv/ij9oVDuKq2elAbyzB+QM0wr2/HcClwbrPoXsWG+LgHUtY2CxOZGQb/\nP3m9FQ/oRSh8tHWd9WK3SYzxjedGZzxlwhkZHNOLScKo1tDgOU9vyIEDJkG8\nx/lMNnFmm68uBXse75YVHe5RD7BaoAvxuDBbwdp49QXIWPhfwNWKVq5WA3TM\nN+ykJff84HeADOglxOZm2fvAyncgy4CLVu9R3+jQifdY69hzBjZ3ohw0xPv8\nnJeSh6wDJcUfX+yVgmQwmSknUsOyuSDuXDsCt9sHOJvuyjuiPOKUUURbbpEl\nES9S2qPU8xySkLTqdW9FFMGWfAE8pd8K8cf95/pcLKQjB7mxSioRN1e/MN68\neM0v\r\n=O1gC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6MW/2oeJ3i46JXAsuo8nqpwm3mL8CX/OxCy8qIw0sSAiB7k4BkY3cbBV2DKCW1s3DE6j9k6tRb/BI1+SLmkd05Xg=="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.225272623.10_1620435001696_0.4121873724847147"},"_hasShrinkwrap":false},"2.1.1-nightly.225334798.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.225334798.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.225334798.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.225334798.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.225334798.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-QYLkprjdw/WJn6+81dZBe7QKFOWf0FJxUlwjbm7s2rCzUb7SKB7gky3ed87pygIDj7qTCpA07p+gMxFLshO0bw==","shasum":"ff31251a15de6193c878fe88946d876fdfbc7d20","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.225334798.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglzHoCRA9TVsSAnZWagAAia8P+wYWivG3I+rIhTsA7bwz\nC10i7Bsa8Nqdxcb2l92KD59kMS+HB9nehHwdqByoQ7ZzeFYqE104ot0pRhwH\n6JU164GN59FFVFoCer5UXUx0TMayuN5gFr+dBqKdRJDEYvLHAxvc73DdfiRU\n44Kl8HT8XdI7BKaYF+U5hZ6ln9+yz0BYBvw3cLLQIYgNSicVp1JrY8bkwNbc\n49/JV/bEWtLlE+xiK8AyYDRpzK/PofJJTS9iBuLxNQIP3BwDfh10vgn7FaZ0\nXWwIEwL2xFfj6UFDADAyxixSesRH6ionab3m/GIqjKJoFXMjEayhPM5efBc3\nhHy4TNwzsKG2QPsJ6xE6yRIzT4iH4HvB0fzdHyxnc0cdr6y4mCjgkjgtwEPi\nNOnpRJJtS8fQjA1XTkjmycRPIIMJFQQLJXTPwggDodLLf9d0TRvqCUfGtmfy\nlHQEePPCN2ubgvLB+/ncT9MU69CGVAoVNb8+EvTtK666PE2DOAv1hRhXAdW3\nbrEIWEQIT4Ep0NveB2F82Pq8RtQpjlULGyaIdmvknzKzIDVIuEyGK9nJMu0q\nC4UTeg/HcleeCs7oCIPo+TciC8A1uHJ7KdUY3pNjtagUdjBBg5/stnSAKsVL\nqYoetSgVHQJ679+lv+zuGwdSdkVwHTsQwvCsLXY08aFuKZTnhT0aBiw3ZsR7\n4rD/\r\n=pl6m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEThZPtWP/3DLp6UMeZfiiIhyLGzpUKll5BnD2ItJzqZAiEA3kcTklGrcAmS65u1IHvcUa+CGBIurx4YQjNyJ0Z1+9Y="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.225334798.10_1620521447573_0.6958210232185338"},"_hasShrinkwrap":false},"2.1.1-nightly.225391484.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.225391484.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.225391484.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.225391484.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.225391484.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-q06sgycsg8NmGJ+Ypm68mLkwHinUC5bd/03guLgKPl+HF69GW6jXw9F6ryQwBAW8Rn6cIf861+dnGL3/BDbUfQ==","shasum":"fcbf4e7f55fbe99e84da6548fc892f3ae9e3a849","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.225391484.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmIN+CRA9TVsSAnZWagAAuCsP/37X0zlZW9GfM3E0gs95\nmVpo4MIvg2HBm61GzuGJbDPm0uAeSU5FUWJDZ284biFX3TWNSTuJ6dUnLxbS\n+5BOkVlGEMh2WAxkZUmsUyRSqxuY2adsv3SNBiEUSS6mdGrgm64VhrSxYwhd\n3liTyXHvRgLkCkUJAqFoglmseHkt2vblNsQEYNaLglu/3SPUA5jZLW52JTXX\ntzu1MTqHFdkhlEdTss5192zqq5J0O0tFBmTsB75qKEB7riBZUBygveCYcljw\n+coeochuz9Qu5z+XbI0drOglPfgu9PfdiQwxL9h/ZdXvUjTBm4Ph03+cDQ4G\nv/FhBd7EsYpSw2tAIexxL7fKJ3g33bq0wlNDr6/Su7ADzBUD9BXkeRkXyETX\nvuezpEKnBIB89JJgrbvUkXCNEVQtzDAiRMyfQrYQc439n6Ag1ICCIN+YnDyf\nmIglEpLjBPbK7MNqOdPKhLXclhM2DCpvZne7YtnfdVW7o8bmLIh2jVqCNlEs\nUTrqNExxkXZdFJJ+7ALZsFxKuBwBYVFN+8sCiRrfNziwn+l9RCnOqA5bNlnL\nTBPHfQ+vFlfGMikkbkZ2FHNAGqsaoqfuO2HjXyJcefkhjz4MuSeQnvwlM2og\n4D0XyJCUtEYEtGiZefEbY4B8YdBzFdqeWwG095O8Z6PLJn/MCnfZVxN8t6XY\ntkVv\r\n=oASI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcPOW0ypzL5607dTpmfTXrBz+F/1ON9gGJs3cWeDuaWAiEA0k09y41D+PlEBs9s/A/jvJorTV9hzlxY85w2PmvkVHI="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.225391484.10_1620607870179_0.24880733204052974"},"_hasShrinkwrap":false},"2.1.1-nightly.225529813.10":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.1-nightly.225529813.10+adfa879","@alexa-games/sfb-util":"^2.1.1-nightly.225529813.10+adfa879","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.225529813.10","keywords":["game","story","Alexa","skill","voice"],"gitHead":"adfa879f5debe979317a6f87eb8746b7c4d07400","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.225529813.10","_nodeVersion":"10.24.1","_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (darwin)","dist":{"integrity":"sha512-5r1T921ty3TTVwdtjYhta11dFG3ByJ3uNLKwshkGo9SwM3yCtJINRfED4eGb3PlR67/dsGFNnJVX0lrYUh/MxQ==","shasum":"54a703ce9315fac36eb6091baa3bebccd842797c","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.225529813.10.tgz","fileCount":181,"unpackedSize":10224048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmdV9CRA9TVsSAnZWagAAKjUP/2i25e34BucwtaSyV1dt\nJKGbKeCdQIy2LZ72s4YViiZwqVnrqPjD1qqZJtWto4qbut4V0V0VT4ADXJTO\n9wA9eTsu1hy82M+/PvgOGz4xvbkpf/1fY4gVKRqHXrSlErAXPl96wz9XBi6b\njcgPqLEweOuflxMj28DSfXLY15C0/wGNTudyDeWjj8KUYrPfkfOchnYAJtJ8\nbr3GLRgeUhtxw3C5y8bTEcbjal2eVUOVWlBA0zGDu2BbeRuhfSNlWbHvjnmD\nIHs2Betu4CRBOUi7uwgHMB1Y4SaurK2O4YTFtf9TwNGsJy+OlGOLe0arX0op\nC2K5s2dGd7coxZdeR9yy2pH9cgatpe5XMhJyNB5MnurPmN2bzo4wJzMV4mSe\nOIDFleLrNZXKwYIJGYe7uxyqx7n2yE1ZJzHA4U+NEwDuuch8MPmYUpjsj1Pg\ne4txiV0HB9KayiwK21pv2UswYieIehfaTsWlWNOiZ2SwBat1RPWS+GLXZBmn\nhdpSV8pKNltQa3jljYhaBGcFD2GMe6Ee82JMK4WRX/4XPN2bKW7dVNpZFdQ5\n2nsqNJ9by7VKRkaigQz0omUWv6qAHml2ZXRXDo5Rwk1nGXXGTRw1GaHgCSlQ\nr/4bVUomztKooSQfTTRz+OLh7QZzg+R8arKjwvqV9eugDb/x/DygRRHZW5pM\nKxZL\r\n=juHN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGE5jzYCaV713C3whqpbulN/yrz4Ap7ye8b7FTkoFnX0AiEAhZAUISr2W59lI07rS1UxJglNTo3CbTg0lZRmQlNHC68="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.225529813.10_1620694396612_0.7428936363718264"},"_hasShrinkwrap":false},"2.1.1-nightly.232104632.13":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"^2.1.0","@alexa-games/sfb-util":"^2.1.0","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1-nightly.232104632.13","keywords":["game","story","Alexa","skill","voice"],"gitHead":"ab6b385b07fdba2034858b62ee3bd4facca5db4a","readme":"# Skill Flow Builder Content Framework\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","_id":"@alexa-games/sfb-f@2.1.1-nightly.232104632.13","_nodeVersion":"12.22.3","_npmVersion":"lerna/3.22.1/node@v12.22.3+x64 (darwin)","dist":{"integrity":"sha512-C7yYh7/C94xkSS0dZAORjArkEmLMDlhhTXKg8QWAKKHW/zrUDmtWDmUhu8/pi//VWdRuUqQ6NkE8HO4EPNA98w==","shasum":"42ef70dd04d30b3db8245e6fb88421f2dfd9bea4","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1-nightly.232104632.13.tgz","fileCount":184,"unpackedSize":10254672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5lO8CRA9TVsSAnZWagAA0pQQAJ3sl2gq3xnpdw2SwxVK\n4DDfgTzKd7zZZ3O2/uVHG9Nw8E01vvg9FOZiPvTGzzIRS9crAN5AbPxY1AEe\nbwXLxTkX5mPdqXijRXwWW9vKJwOzlit5vZHO0tc6LtA5qS5PXIlPwoAkGNfg\n1eRfIgp8ijJ3Q1XwPOMMfyoxtXk1yPEzT4zrhohfrchZOjbn1TzqCdKF6DOj\nkRnTDes0Acju8iaNexKcryGbFVKYZa01uKt0D5uCh2mIZfHx89gHvAFVqEsv\nHRbQ1Kca5v3DhrMfbPxwUtjsnCpcLBO4GtfhrCL4vwY6RTnZKBOoQ1HMyDxy\n4ZdcmT/B7ZeydxNRdJjA7fZb8qc4Dk0Vo6kmaK/sPYY4q9XX7WEr5eB+Z1Cq\njXBpifK6YrICJ0CzX+ZHGOwYfqYaCuaOICdXnBnBrqoEoAHrGbti0B7kBca0\nZvqkRQ251AIoFkyeLuryHYgnxg6xkh9D1IjwxEWcVlKbjv7krk+RNiUeGZtt\n3Zvh7bC3TClg2yO1Rr8VA+BrTK5UTE1aZ+em5QwfDV7uxv/Xr0XJbekCx9XF\njmSss3lzRdKoRsAymy7BdNt6tT4ngBoCez25dkubtM7zUJw3C4sv0dlcipjB\nXb6dC0CUByF7Bm+udDqkTwA5TFz807ngHdEPEZOXYqMu0VM5AWeu47z1IkjC\ngiuu\r\n=s1hf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqLk7hHQBcot/1kG1c7GcM9P757fBjFSWRupr+wokrCAiBo+9OR1XW4Z8p+w2Qf1of8jC+UYcCz+fEl179NCf3fLQ=="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1-nightly.232104632.13_1625707452148_0.48956605993685787"},"_hasShrinkwrap":false},"2.1.1":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"2.1.1","@alexa-games/sfb-util":"2.1.1","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.1","keywords":["game","story","Alexa","skill","voice"],"gitHead":"449f2c8f7cbc448f582ae70ba6b563d1beddb602","_id":"@alexa-games/sfb-f@2.1.1","_nodeVersion":"14.18.3","_npmVersion":"lerna/3.22.1/node@v14.18.3+x64 (darwin)","dist":{"integrity":"sha512-QVdVeNEsikEU5EgN1V5+MTmC/dOt7pl+GK2j83eX5B3BrHt0mbeydI38QKXuWvL5Czhrks/V/XKyW7fOX9SRqg==","shasum":"f01f9223d0f0da5901374a3642e816f5374660b2","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.1.tgz","fileCount":181,"unpackedSize":10223959,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICO7jER4845rGZ+AqQn8NrUfHB+lZ9+0NJyhzIvoO8SyAiEA0K8WVOtMHYjjF6/GEpkSgl0hu1doURCIpmGXMe46jF0="}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.1_1697059248464_0.2676176950476361"},"_hasShrinkwrap":false},"2.1.2":{"name":"@alexa-games/sfb-f","description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","dependencies":{"@alexa-games/sfb-polly":"2.1.2","@alexa-games/sfb-util":"2.1.2","ask-sdk":"latest"},"devDependencies":{"@types/inquirer":"0.0.43","@types/mocha":"^5.2.6","@types/node":"^10.12.0","@types/sinon":"^7.0.13","mocha":"^6.1.3","nyc":"^15.1.0","rimraf":"^2.6.3","sinon":"^7.3.2","tslint":"^5.17.0","typescript":"^3.5.1"},"main":"./dist/index.js","scripts":{"test":"npx mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","posttest":"npx rimraf ./.out","perftest":"npx mocha 'dist/test/**/*.perf-spec.js' --timeout 20000","unit-test":"npx mocha 'dist/test/**/*.spec.js'","unit-coverage":"nyc --reporter text npm run unit-test","coverage":"nyc --reporter lcov --reporter text mocha 'dist/test/**/*.int-spec.js' 'dist/test/**/*.spec.js'","compile":"npm run clean && npm run lint && npx tsc","lint":"tslint --project tsconfig.json","clean":"npx rimraf  ./dist","build":"npm run compile"},"nyc":{"exclude":["**/test"]},"version":"2.1.2","keywords":["game","story","Alexa","skill","voice"],"gitHead":"148f184cf801176b54482814d72a2995eae9d245","_id":"@alexa-games/sfb-f@2.1.2","_nodeVersion":"14.18.3","_npmVersion":"lerna/3.22.1/node@v14.18.3+x64 (darwin)","dist":{"integrity":"sha512-sNmRZgOuPyC1110Gxc9ewae33wUkzMf9Bg9yeHs6F6xnGIvuMMQwNQw29hxSl9iy/aSZxdKQQ37ISNYn5zY2RQ==","shasum":"9ec2d3e2f69b4d5adfe6196826113b7139908456","tarball":"https://registry.npmjs.org/@alexa-games/sfb-f/-/sfb-f-2.1.2.tgz","fileCount":181,"unpackedSize":10224186,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbNRygnlPeDg9Ml9zKJkqoBgQP500A5wMnqkoYrCD0XQIhANQCQFFtvduAM77wEwTH+tiQwp5Z5SRV01jP25ozB9XZ"}]},"_npmUser":{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"},"directories":{},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfb-f_2.1.2_1697059557057_0.6352799238023645"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-11T19:11:17.831Z","0.5.0-alpha.4":"2019-07-11T19:11:18.167Z","modified":"2023-10-11T21:25:57.705Z","0.5.0":"2019-07-16T20:32:59.930Z","0.6.0":"2019-07-17T18:29:18.565Z","1.0.0":"2019-07-17T23:22:01.709Z","1.0.1":"2019-07-18T21:37:15.561Z","1.0.2":"2019-07-18T21:56:29.842Z","1.0.3":"2019-07-29T17:45:11.918Z","1.1.4":"2019-09-09T23:25:41.917Z","1.1.1":"2019-09-10T00:48:26.671Z","1.1.2":"2019-09-10T02:47:06.921Z","1.2.0":"2019-09-30T22:35:18.826Z","1.2.1":"2019-10-17T17:40:06.034Z","1.3.0":"2019-11-25T23:23:00.045Z","1.3.1":"2019-12-04T01:37:07.309Z","1.3.3":"2020-01-11T01:06:18.458Z","1.3.4":"2020-05-27T22:44:37.920Z","2.0.0":"2020-10-12T17:33:17.827Z","2.0.1-nightly.191290864.8":"2020-10-20T23:08:13.673Z","2.0.1-nightly.191551805.8":"2020-10-21T23:08:41.058Z","2.0.1-nightly.203679785.15":"2020-11-24T00:18:12.921Z","2.0.1-nightly.203993240.15":"2020-11-24T23:20:48.180Z","2.0.1-nightly.204529068.15":"2020-11-25T23:21:43.123Z","2.0.1-nightly.204790339.15":"2020-11-26T23:22:02.505Z","2.0.1-nightly.204993531.15":"2020-11-27T23:23:19.582Z","2.0.1-nightly.205066779.15":"2020-11-28T23:26:59.049Z","2.0.1-nightly.205225457.15":"2020-11-29T23:24:52.919Z","2.0.1-nightly.205506399.15":"2020-11-30T23:26:01.220Z","2.0.1-nightly.205794510.15":"2020-12-01T23:26:44.887Z","2.0.1-nightly.206087558.16":"2020-12-02T23:27:02.340Z","2.0.1-nightly.206458165.16":"2020-12-03T23:28:20.567Z","2.0.1-nightly.206717822.16":"2020-12-04T23:39:42.557Z","2.0.1-nightly.206823160.16":"2020-12-05T23:27:38.130Z","2.0.1-nightly.206922353.16":"2020-12-06T23:27:37.725Z","2.0.1-nightly.207167783.16":"2020-12-07T23:30:34.081Z","2.0.1-beta.18":"2020-12-09T18:29:20.302Z","2.1.0":"2020-12-09T20:04:27.958Z","2.1.1-nightly.222998180.10":"2021-04-14T00:35:39.030Z","2.1.1-nightly.223114844.10":"2021-04-15T00:37:30.262Z","2.1.1-nightly.223246371.10":"2021-04-16T00:36:36.830Z","2.1.1-nightly.223356168.10":"2021-04-17T00:47:18.089Z","2.1.1-nightly.223383941.10":"2021-04-18T00:38:05.733Z","2.1.1-nightly.223416837.10":"2021-04-19T00:38:30.384Z","2.1.1-nightly.223534090.10":"2021-04-20T00:44:22.850Z","2.1.1-nightly.223809396.10":"2021-04-22T00:41:44.089Z","2.1.1-nightly.223941226.10":"2021-04-23T00:42:06.749Z","2.1.1-nightly.224042439.10":"2021-04-24T00:42:57.683Z","2.1.1-nightly.224076856.10":"2021-04-25T00:42:53.309Z","2.1.1-nightly.224104607.10":"2021-04-26T00:42:42.664Z","2.1.1-nightly.224217643.10":"2021-04-27T00:43:35.226Z","2.1.1-nightly.224332497.10":"2021-04-28T00:45:03.347Z","2.1.1-nightly.224450567.10":"2021-04-29T00:45:57.690Z","2.1.1-nightly.224565873.10":"2021-04-30T00:47:05.614Z","2.1.1-nightly.224674011.10":"2021-05-01T00:46:53.935Z","2.1.1-nightly.224699870.10":"2021-05-02T00:47:14.731Z","2.1.1-nightly.224725748.10":"2021-05-03T00:47:40.155Z","2.1.1-nightly.224815506.10":"2021-05-04T00:50:42.603Z","2.1.1-nightly.224921011.10":"2021-05-05T00:48:38.056Z","2.1.1-nightly.225026743.10":"2021-05-06T00:48:55.982Z","2.1.1-nightly.225146630.10":"2021-05-07T00:50:01.454Z","2.1.1-nightly.225272623.10":"2021-05-08T00:50:01.939Z","2.1.1-nightly.225334798.10":"2021-05-09T00:50:47.784Z","2.1.1-nightly.225391484.10":"2021-05-10T00:51:10.452Z","2.1.1-nightly.225529813.10":"2021-05-11T00:53:17.010Z","2.1.1-nightly.232104632.13":"2021-07-08T01:24:12.394Z","2.1.1":"2023-10-11T21:20:48.711Z","2.1.2":"2023-10-11T21:25:57.437Z"},"maintainers":[{"name":"alexa-games-admin","email":"alexa-games-npm-admins@amazon.com"},{"name":"alexa-games-builder","email":"alexa-games-npm-builders@amazon.com"}],"description":"Alexa Skill Flow Builder Framework (SFB-f) core module. Enables and aids importing and creating interactive story skills for Alexa.","author":{"name":"Amazon.com"},"license":"LicenseRef-.amazon.com.-AmznSL-1.0","readme":"# Skill Flow Builder Content Framework\n\n> **Warning**\n> **DEPRECATED** The Alexa Games team will no longer support or maintain this official distribution of Skill Flow Builder. Thank you to all the folks who have used SFB to make great Alexa skills over the years!\n\n\nThe Skill Flow Builder Content Framework contains the core collection of utility\nand driver functionalities that powers the Editor and the CLI. It handles the\ninterpretation of SFB’s domain-specific language into a narrative structure,\ni.e., importing, validating, and creating interactive story skills for Alexa.\n\nVisit [Skill Flow Builder on Github](https://github.com/alexa-games/skill-flow-builder)\nfor more information.\n\n## Getting Started\n\n### Prerequisites\n\nThe following needs to be installed and configured:\n\n```preformat\nNode.js (with npm) # Note: Requires Node.js version >= 10.15.\nYarn\n```\n\n### Compiling\n\n```sh\nyarn install && yarn compile\n```\n\nThe compiled code is built into the `dist/` directory. The Skill Flow Builder\nFramework requires other core modules to be built. To build all the modules in\nthe `packages/` directory at once, run `yarn build-modules`.\n\n### Testing\n\n```sh\nyarn test\n```\n\nThis will run all unit tests in the `test/` directory.\n\n## Package Structure\n\nThe SFB Framework package structure looks like this.\n\n```preformatted\npackages/sfb-f/\n└── bakeUtilities/ # Schemas for Intents & Interaction Models\n└── driver/ # Drvers for Audio and Scene responses\n└── exportHandlers/ # Exporters of SFB project files\n└── extensions/ # Extensions to modify the incoming/outgoing content\n└── importer/ # Importers for SFB project files\n└── importPlugins/ # Plugins that help with importing\n└── story/ # SFB story methods\n└── test/ # Tests\n└── transformers/ # Transforms segments for use in SFB\n└── verificationHandlers/ # Verifies integrity of SFB project files\n└─── ...\n```\n\n## Build Life Cycle\n\nThe following is a lifecycle for Skill Flow Builder project when the build\nprocess is executed by running `alexa-sfb build`, and is executed as part of the\ndeploy process when using `alexa-sfb deploy`.\n\n1. **Code Build**: Install dependencies and run compile script for `code/` directory.\n2. **Pre-Import**: Run `extendSourceContent()` on content source\n(included `*.abc` files) for the attached `ImporterExtensions`.\n3. **Post-Import**: Run `extendImportedContent()` on the resulting\n`StoryMetadata` for all attached ImporterExtensions, and write the result to `baked/{locale}/baked_story.json`.\n4. **Staging**: Generate a deployment payload in `.deploy/` with the\n`ask new command`, then copy the built code, the imported story, and assets from\n`content/{locale}/resources` to the resulting deployment payload directory.\nIf metadata exists copy `skill.json` and `ask_config` from the metadata\ndirectory for appropriate stages.\n5. **Deploy** (if you are running `alexa-sfb deploy`): Run `ask deploy` on the\ndeployment payload.\n\n## Skill Runtime Life Cycle\n\nThe following steps show the runtime life cycle when requests come in to your\nSkill Flow Builder deployed skill's lambda.\n\n1. **ASK SDK pre-request handler**: The request and event object are enveloped\nby ASK SDK, and persistent skill state is retrieved with attached [PersistenceAdapter](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/manage-attributes.html#persistenceadapter).\n2. **Skill Flow Builder Request Handler**: ASK SDK's [HandlerInput](https://developer.amazon.com/en-US/docs/alexa/alexa-skills-kit-sdk-for-nodejs/handle-requests.html#handler-input)\nis passed to `SFBRequestHandler` for processing, then the handler calls\n`SFBDriver` with current skill state and incoming request.\n3. **Skill Flow Builder Driver Pre Run**: Run `pre()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould parse the request in to `UserInput` object at this step.\n4. **Skill Flow Builder Driver Run**: The core logic for taking the incoming\nuser input, `StoryMetadata`, and current skill state, is executed at this step\nalong with running custom instructions defined in attached `InstructionExtension`.\n5. **Skill Flow Builder Driver Post Run**: Run `post()` for all attached\ninstances of `DriverExtension`. Default `DriverExtension` like `AlexaExtension`\nwould generate an Alexa skill response given the post run state at this step.\n\n## Contributing\n\nThe SFB Framework module contains the core logic for Skill Flow Builder’s\nengine, which is utilized by both the Alexa Skill runtime and the Skill Flow\nBuilder editor. You can locally recompile the source code with `yarn compile`,\nbut you will have to run `yarn build-modules`, in order for your changes to show\nappropriately in other modules.\n","readmeFilename":"README.md","keywords":["game","story","Alexa","skill","voice"]}