@quspect/qupai 0.7.0 → 0.7.7

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.
Files changed (2) hide show
  1. package/SKILL.md +20 -1
  2. package/package.json +7 -7
package/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: qupai
3
- description: Ask QuPai's agents (the agents of the products the person's organization runs, such as QuPilot, and their labs' own agents) from this machine with the qupai command, hand approvals to the person, and read the person's QuPai threads, projects, artifacts, labs, compute, credits and what they set up (agents, knowledge bases, schedules, goals, workspaces). Use when the person asks to use QuPai, a QuPai agent, a QuPai lab or project, or a quantum computer through QuPai.
3
+ description: Ask QuPai's agents (the agents of the products the person's organization runs, such as QuPilot, and their labs' own agents) from this machine with the qupai command, hand approvals to the person, and read the person's QuPai threads, projects, artifacts, labs, compute, credits and what they set up (agents, knowledge bases, schedules, goals, workspaces); for QuPai staff, work the staff console on a staff session (qupai admin). Use when the person asks to use QuPai, a QuPai agent, a QuPai lab or project, or a quantum computer through QuPai, or for QuPai staff work.
4
4
  ---
5
5
 
6
6
  # Using QuPai through the qupai command
@@ -104,6 +104,25 @@ qupai schedule list -json # likewise goal list, workspace lis
104
104
  - Deleting (`thread delete`, `agent delete`, `library skill delete`, `schedule delete`, `goal stop`, `lab leave`…)
105
105
  cannot be undone: run it only when asked for that very thing, with `-yes`; `redeem` and `artifact share` likewise.
106
106
 
107
+ ## 7. Staff: the staff console (QuPai staff only)
108
+
109
+ When the person is QuPai staff and asks for staff work (organizations, accounts, users, access, labs, the catalog),
110
+ they run `! qupai login -staff` themselves and tick in the browser what the session may do; it lasts 8 hours.
111
+ `qupai status -json` then has `staff_session.state` `active` and its `reach`, and `qupai admin <area> <verb>` works
112
+ within it (`qupai help admin` lists them; each takes `-json`):
113
+
114
+ ```sh
115
+ qupai admin org list -json # likewise user list -q TEXT, lab list, access app show -org ORG
116
+ qupai admin lab grant csmot -org acme -user bob@acme.example -role operate
117
+ ```
118
+
119
+ - Exit 3: no staff session, or it ended: ask the person to run `qupai login -staff`. Exit 5: outside its reach (the
120
+ message names the box to tick on a new session) or their staff role does not allow it. Staff roles and changing
121
+ money stay in the browser.
122
+ - Writes change customers' organizations: run one only when asked for that very thing. Suspending, disabling,
123
+ removing and disconnecting need `-yes`. A password or key comes from a file the person gives (`-password-file`,
124
+ `-secret-file`), never an argument: never make one up, print one, or read one yourself.
125
+
107
126
  ## MCP
108
127
 
109
128
  `claude mcp add qupai -- qupai mcp` (Codex: `codex mcp add qupai -- qupai mcp`) offers the same as tools: `status`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quspect/qupai",
3
- "version": "0.7.0",
3
+ "version": "0.7.7",
4
4
  "description": "QuPai's command line: sign in to a QuPai platform and ask its agents from a terminal, or from Codex and Claude Code",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Quspect",
@@ -29,11 +29,11 @@
29
29
  "node": ">=18"
30
30
  },
31
31
  "optionalDependencies": {
32
- "@quspect/qupai-darwin-arm64": "0.7.0",
33
- "@quspect/qupai-darwin-x64": "0.7.0",
34
- "@quspect/qupai-linux-x64": "0.7.0",
35
- "@quspect/qupai-linux-arm64": "0.7.0",
36
- "@quspect/qupai-win32-x64": "0.7.0",
37
- "@quspect/qupai-win32-arm64": "0.7.0"
32
+ "@quspect/qupai-darwin-arm64": "0.7.7",
33
+ "@quspect/qupai-darwin-x64": "0.7.7",
34
+ "@quspect/qupai-linux-x64": "0.7.7",
35
+ "@quspect/qupai-linux-arm64": "0.7.7",
36
+ "@quspect/qupai-win32-x64": "0.7.7",
37
+ "@quspect/qupai-win32-arm64": "0.7.7"
38
38
  }
39
39
  }