@webship.co/workspace-azure 1.0.9 → 1.0.11

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: azure-deployer
3
- description: Use this agent to look after a Webship Workspace site on Azure with the command of the Azure plugin (`@webship.co/workspace-azure`), `cmd-tools-azure.sh` — say whether the project is linked and to what, list its environments, read its last activities and its log, test the site before a deploy when it carries a webship-js suite, and hand the person the deploy line. It never deploys on its own: a deploy is outward-facing and asks for a confirmation in a terminal. It never prints a token or a key, never relinks a project and never skips the safety backup unless the person said so. Invoke for "is this site linked to Azure", "which environments does it have", "what was deployed last", "is it ready to deploy", or "give me the deploy command".
3
+ description: Use this agent to look after a Webship Workspace site on Azure with the command of the Azure plugin (`@webship.co/workspace-azure`), `cmd-tools-azure.sh` — say whether the project is linked and to what, list its environments, read its last activities and its log, test the site before a deploy when it carries a webship-js suite, and hand the person the deploy line. It never deploys on its own — a deploy is outward-facing and asks for a confirmation in a terminal. It never prints a token or a key, never relinks a project and never skips the safety backup unless the person said so. Invoke for "is this site linked to Azure", "which environments does it have", "what was deployed last", "is it ready to deploy", or "give me the deploy command".
4
4
  model: fable
5
5
  tools:
6
6
  - Bash
@@ -2,35 +2,40 @@ Feature: The Azure plugin on a project row
2
2
  Once the plugin is activated and installed, every site row carries the AZURE menu, and the Plugins
3
3
  page lists the plugin with its four steps.
4
4
 
5
+ @needs-project-dev
5
6
  Scenario: A site row offers the AZURE menu, captioned with its link state
6
7
  Given I am on "/dev"
7
8
  Then the element ".act-menu-azure" should be displayed
8
9
  And I should see "AZURE"
9
10
  And the element ".act-menu-azure + .act-status" should be displayed
10
11
 
12
+ @needs-project-dev
11
13
  Scenario: An unlinked project's menu opens and says how to link it
12
14
  Given I am on "/dev"
13
15
  And I click on the element ".project-row .act-menu-azure button"
14
16
  Then ".uk-dropdown.uk-open" should be visible
15
17
  And I should see "Not linked to Azure"
16
18
 
17
- Scenario: The plugin is listed on the Plugins page
19
+ # The Plugins page names each plugin; the package is on the plugin's own page (the row shows it on hover only).
20
+ Scenario: The plugin is listed on the Plugins page, and its own page names its package
18
21
  Given I am on "/settings/plugins"
19
22
  Then I should see "Azure"
20
- And I should see "@webship.co/workspace-azure"
23
+ When I go to "/settings/plugin/azure"
24
+ Then I should see "@webship.co/workspace-azure"
21
25
 
26
+ # The AI folders are searched by name: with every plugin on, a folder lists more than one page of items.
22
27
  Scenario: The AI Agents folder lists the agent the plugin ships
23
- Given I am on "/ai-agents"
28
+ Given I am on "/ai-agents?q=azure-deployer"
24
29
  Then I should see "azure-deployer"
25
30
 
26
31
  Scenario: The AI Skills folder lists the skill the plugin ships
27
- Given I am on "/ai-skills"
32
+ Given I am on "/ai-skills?q=azure-hosting"
28
33
  Then I should see "azure-hosting"
29
34
 
30
35
  Scenario: The AI Commands folder lists the command the plugin ships
31
- Given I am on "/ai-commands"
36
+ Given I am on "/ai-commands?q=azure-status"
32
37
  Then I should see "azure-status"
33
38
 
34
39
  Scenario: The AI Prompts folder lists the prompt the plugin ships
35
- Given I am on "/ai-prompts"
40
+ Given I am on "/ai-prompts?q=azure-test-then-deploy"
36
41
  Then I should see "azure-test-then-deploy"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webship.co/workspace-azure",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Azure App Service for Webship Workspace: the AZURE menu on every site row, the web app and its deployment slots with their URLs, zip deploy, log tail, deployment history. It carries its AI items, each placed in the workspace folder of its kind: an agent, a skill, a command and a prompt. A provider of @webship.co/workspace-hosting.",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",