house-lights 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/cli.mjs +3 -2
- package/package.json +4 -3
- package/skills/cast-list/assets/VERSION +2 -0
- package/skills/cast-list/assets/lesson.html +182 -0
- package/skills/cast-list/assets/map.html +245 -0
- package/skills/cast-list/examples/LICENSE-microsoft-skills-for-copilot-studio +21 -0
- package/skills/cast-list/examples/NOTICE.md +27 -0
- package/skills/cast-list/examples/agents/bodega-cupons/actions/ConsultarCuponsAtivos.mcs.yml +34 -0
- package/skills/cast-list/examples/agents/bodega-cupons/actions/EnviarCupomEmail.mcs.yml +34 -0
- package/skills/cast-list/examples/agents/bodega-cupons/actions/PromocoesMCP.mcs.yml +20 -0
- package/skills/cast-list/examples/agents/bodega-cupons/agent.mcs.yml +27 -0
- package/skills/cast-list/examples/agents/bodega-cupons/connectionreferences.mcs.yml +17 -0
- package/skills/cast-list/examples/agents/bodega-cupons/knowledge/RegulamentoCupons.knowledge.mcs.yml +7 -0
- package/skills/cast-list/examples/agents/bodega-cupons/settings.mcs.yml +13 -0
- package/skills/cast-list/examples/agents/bodega-cupons/topics/ConsultarRegulamentoCupons.topic.mcs.yml +56 -0
- package/skills/cast-list/examples/agents/bodega-cupons/topics/Escalate.topic.mcs.yml +20 -0
- package/skills/cast-list/examples/agents/bodega-cupons/topics/Fallback.topic.mcs.yml +32 -0
- package/skills/cast-list/examples/agents/bodega-cupons/topics/Greeting.topic.mcs.yml +14 -0
- package/skills/cast-list/examples/agents/bodega-cupons/topics/OnError.topic.mcs.yml +48 -0
- package/skills/cast-list/examples/agents/bodega-cupons/topics/RecebimentoOrquestrador.topic.mcs.yml +16 -0
- package/skills/cast-list/examples/agents/bodega-cupons/variables/CategoriaSolicitacao.mcs.yml +10 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/actions/AbrirSolicitacaoDevolucao.mcs.yml +32 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/agent.mcs.yml +26 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/connectionreferences.mcs.yml +6 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/knowledge/PoliticaTrocasDevolucoes.knowledge.mcs.yml +7 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/settings.mcs.yml +13 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/ConsultarPoliticaDevolucoes.topic.mcs.yml +56 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/Escalate.topic.mcs.yml +20 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/Fallback.topic.mcs.yml +32 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/Greeting.topic.mcs.yml +14 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/OnError.topic.mcs.yml +48 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/RecebimentoOrquestrador.topic.mcs.yml +16 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/variables/CategoriaSolicitacao.mcs.yml +10 -0
- package/skills/cast-list/examples/agents/bodega-frete/actions/EnviarOpcoesFrete.mcs.yml +34 -0
- package/skills/cast-list/examples/agents/bodega-frete/agent.mcs.yml +26 -0
- package/skills/cast-list/examples/agents/bodega-frete/connectionreferences.mcs.yml +6 -0
- package/skills/cast-list/examples/agents/bodega-frete/knowledge/TabelaFreteEntregas.knowledge.mcs.yml +7 -0
- package/skills/cast-list/examples/agents/bodega-frete/settings.mcs.yml +13 -0
- package/skills/cast-list/examples/agents/bodega-frete/topics/ConsultarTabelaFrete.topic.mcs.yml +56 -0
- package/skills/cast-list/examples/agents/bodega-frete/topics/Fallback.topic.mcs.yml +31 -0
- package/skills/cast-list/examples/agents/bodega-frete/topics/Greeting.topic.mcs.yml +14 -0
- package/skills/cast-list/examples/agents/bodega-frete/topics/OnError.topic.mcs.yml +48 -0
- package/skills/cast-list/examples/agents/bodega-frete/topics/RecebimentoOrquestrador.topic.mcs.yml +16 -0
- package/skills/cast-list/examples/agents/bodega-frete/variables/CategoriaSolicitacao.mcs.yml +10 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/actions/EnviarInstrucoesRetirada.mcs.yml +34 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/agent.mcs.yml +27 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/connectionreferences.mcs.yml +6 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/knowledge/GuiaLojaFisica.knowledge.mcs.yml +8 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/settings.mcs.yml +13 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/ConsultarGuiaLojaFisica.topic.mcs.yml +56 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/Escalate.topic.mcs.yml +20 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/Fallback.topic.mcs.yml +32 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/Greeting.topic.mcs.yml +14 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/OnError.topic.mcs.yml +43 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/RecebimentoOrquestrador.topic.mcs.yml +16 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/variables/CategoriaSolicitacao.mcs.yml +10 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/actions/AgenteCupons.mcs.yml +24 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/actions/AgenteDevolucoes.mcs.yml +24 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/actions/AgenteFrete.mcs.yml +24 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/actions/AgenteLojaFisica.mcs.yml +24 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/actions/AgentePedidos.mcs.yml +24 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/agent.mcs.yml +35 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/agents/SobreBodegaAzul/agent.mcs.yml +32 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/settings.mcs.yml +12 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/topics/ClassificarSolicitacao.topic.mcs.yml +35 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/topics/Escalate.topic.mcs.yml +20 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/topics/Fallback.topic.mcs.yml +32 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/topics/Greeting.topic.mcs.yml +14 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/topics/OnError.topic.mcs.yml +48 -0
- package/skills/cast-list/examples/agents/bodega-orquestrador/variables/CategoriaSolicitacao.mcs.yml +9 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/actions/EnviarResumoPedido.mcs.yml +34 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/agent.mcs.yml +26 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/connectionreferences.mcs.yml +6 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/knowledge/PoliticasPedidos.knowledge.mcs.yml +7 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/settings.mcs.yml +13 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/topics/ConsultarPoliticasPedidos.topic.mcs.yml +56 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/topics/Escalate.topic.mcs.yml +20 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/topics/Fallback.topic.mcs.yml +32 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/topics/Greeting.topic.mcs.yml +14 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/topics/OnError.topic.mcs.yml +48 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/topics/RecebimentoOrquestrador.topic.mcs.yml +16 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/variables/CategoriaSolicitacao.mcs.yml +10 -0
- package/skills/cast-list/examples/demo.cast.yaml +10 -0
- package/skills/cast-list/examples/profile.cast.yaml +15 -0
- package/skills/cast-list/references/format.md +50 -0
- package/skills/cast-list/references/keys.md +108 -0
- package/skills/cast-list/references/profile.md +32 -0
- package/skills/cast-list/scripts/browser.mjs +198 -0
- package/skills/cast-list/scripts/build.mjs +179 -0
- package/skills/cast-list/scripts/engine.mjs +155 -0
- package/skills/cast-list/scripts/page.mjs +15 -0
- package/skills/cast-list/scripts/read-xlsx.mjs +67 -0
- package/skills/cast-list/vendor/microsoft/LICENSE +21 -0
- package/skills/cast-list/vendor/microsoft/NOTICE +9 -0
- package/skills/cast-list/vendor/microsoft/package.json +1 -0
- package/skills/cast-list/vendor/microsoft/reference/bot.schema.yaml-authoring.json +27605 -0
- package/skills/cast-list/vendor/microsoft/scripts/schema-lookup.bundle.js +3495 -0
package/README.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# house-lights
|
|
2
2
|
|
|
3
|
-
The command behind the [house-lights](https://github.com/ruinosus/house-lights) skills:
|
|
4
|
-
to people, each one
|
|
3
|
+
The command behind the [house-lights](https://github.com/ruinosus/house-lights) skills: six ways of showing an idea
|
|
4
|
+
to people, each one an HTML page that opens offline. See the
|
|
5
5
|
[gallery](https://ruinosus.github.io/house-lights/).
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
npx house-lights <skill> <file> [options] # the options are the skill's own; with no skill, the list
|
|
9
|
+
npx house-lights cast-list <agents-folder> [options]
|
|
9
10
|
```
|
|
10
11
|
|
|
11
12
|
| Skill | What it makes |
|
|
@@ -15,6 +16,7 @@ npx house-lights <skill> <file> [options] # the options are the skill's own
|
|
|
15
16
|
| `dress-rehearsal` | an incident drill to play, made from a runbook, and its debrief |
|
|
16
17
|
| `gates-and-handoffs` | a team's way of working: stages, gates, roles and outputs, with a workbook |
|
|
17
18
|
| `service-blueprint` | a customer journey and who makes each moment happen, with a workbook |
|
|
19
|
+
| `cast-list` | Copilot Studio agents compared: what repeats, who is off a pattern, what is missing, with a workbook |
|
|
18
20
|
|
|
19
21
|
```
|
|
20
22
|
npx house-lights chalk-talk lesson.chalk # lesson.html, checked and offline
|
|
@@ -25,6 +27,8 @@ npx house-lights dress-rehearsal checkout.drill.yaml --all # the game and th
|
|
|
25
27
|
npx house-lights gates-and-handoffs team.way.yaml --all # the map, the workbook (.xlsx) and the lesson
|
|
26
28
|
npx house-lights gates-and-handoffs team.way.yaml --from edited.xlsx # what the edited workbook changes
|
|
27
29
|
npx house-lights service-blueprint returns.blueprint.yaml --all # the map, the workbook and the lesson
|
|
30
|
+
npx house-lights cast-list agents/ --profile team.cast.yaml --all # the agents compared: map, workbook, lesson
|
|
31
|
+
npx house-lights cast-list agents/ --from filled.xlsx --take all # the decisions filled in Excel, kept
|
|
28
32
|
```
|
|
29
33
|
|
|
30
34
|
Exit codes: 0 made and checked; 1 the file breaks its format (each problem with its line); 2 the command line is
|
|
@@ -34,7 +38,7 @@ Node.js 18 or later, nothing else to install.
|
|
|
34
38
|
The drawing engine alone (to embed lessons in a page, VS Code or Obsidian) is the
|
|
35
39
|
[chalk-talk](https://www.npmjs.com/package/chalk-talk) package.
|
|
36
40
|
|
|
37
|
-
**Em português:** os mesmos comandos, com `--lang pt` nas
|
|
41
|
+
**Em português:** os mesmos comandos, com `--lang pt` nas quatro que fazem mapa e jogo. As receitas podem ser escritas
|
|
38
42
|
em português; a tela segue o `locale` da receita.
|
|
39
43
|
|
|
40
44
|
MIT.
|
package/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// house-lights <skill> <file> [options]: runs that skill's build with the same options, and gives back its exit code.
|
|
2
|
+
// house-lights <skill> <file or folder> [options]: runs that skill's build with the same options, and gives back its exit code.
|
|
3
3
|
import { spawnSync } from 'node:child_process'
|
|
4
4
|
import { existsSync } from 'node:fs'
|
|
5
5
|
import { dirname, join } from 'node:path'
|
|
@@ -11,12 +11,13 @@ const SKILLS = {
|
|
|
11
11
|
'dress-rehearsal': 'play an incident drill made from a runbook (.drill.yaml)',
|
|
12
12
|
'gates-and-handoffs': "map a team's way of working — stages, gates, roles, outputs (.way.yaml)",
|
|
13
13
|
'service-blueprint': 'map a customer journey and who makes each moment happen (.blueprint.yaml)',
|
|
14
|
+
'cast-list': 'compare Copilot Studio agents: patterns, who is off them, what is missing (a folder of cloned agents)',
|
|
14
15
|
}
|
|
15
16
|
const [skill, ...args] = process.argv.slice(2)
|
|
16
17
|
const build = join(dirname(fileURLToPath(import.meta.url)), 'skills', skill ?? '', 'scripts/build.mjs')
|
|
17
18
|
if (!SKILLS[skill] || !existsSync(build)) {
|
|
18
19
|
if (skill) console.error(`house-lights: no skill named «${skill}».`)
|
|
19
|
-
console.error('usage: npx house-lights <skill> <file> [options] (the options are the skill\'s own)\n')
|
|
20
|
+
console.error('usage: npx house-lights <skill> <file or folder> [options] (the options are the skill\'s own)\n')
|
|
20
21
|
for (const [name, what] of Object.entries(SKILLS)) console.error(` ${name.padEnd(19)} ${what}`)
|
|
21
22
|
process.exit(1)
|
|
22
23
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "house-lights",
|
|
3
|
-
"version": "1.1
|
|
4
|
-
"description": "The command behind the house-lights skills: draw a lesson or a pitch, play an incident drill, map a way of working or a customer journey
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "The command behind the house-lights skills: draw a lesson or a pitch, play an incident drill, map a way of working or a customer journey, compare Copilot Studio agents — one offline HTML file each.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"house-lights": "cli.mjs"
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"explainer",
|
|
30
30
|
"presentation",
|
|
31
31
|
"incident-drill",
|
|
32
|
-
"service-blueprint"
|
|
32
|
+
"service-blueprint",
|
|
33
|
+
"copilot-studio"
|
|
33
34
|
],
|
|
34
35
|
"scripts": {
|
|
35
36
|
"prepack": "node ../../dev/house-lights/tools/pack.mjs"
|