teamclaws 2.0.28 → 2.0.29
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 +14 -19
- package/dist/constants.js +1 -1
- package/package.json +1 -1
- package/skills/teamclaws-login/SKILL.md +9 -10
- package/skills/teamclaws-onboard/SKILL.md +46 -45
- package/skills/teamclaws-onboard/references/workspace-uses.md +2 -2
- package/skills/teamclaws-pair/SKILL.md +3 -3
- package/skills/teamclaws-project/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
# TeamClaws client
|
|
2
2
|
|
|
3
|
-
The official TeamClaws command-line client
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
package.
|
|
7
|
-
|
|
8
|
-
Pairing connects this computer to the workspace. It does not add a person as a
|
|
9
|
-
workspace user; user membership is a separate privilege.
|
|
3
|
+
The official TeamClaws command-line client helps users and agents get projects
|
|
4
|
+
running on their cloud workspaces: sign in, choose a server, transfer files,
|
|
5
|
+
configure the project, and run it. The CLI and its agent skills ship together.
|
|
10
6
|
|
|
11
7
|
## Requirements
|
|
12
8
|
|
|
@@ -72,11 +68,11 @@ blocks signup; an authoritatively revoked login can be cleared by the normal
|
|
|
72
68
|
status check. Network failures preserve local state and stop.
|
|
73
69
|
|
|
74
70
|
Success uses the normal `login_complete` event and saved CLI authorization.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
browser, buy a workspace, or pair one during signup.
|
|
71
|
+
Immediately list workspaces to show the new account's automatic free server
|
|
72
|
+
building, including its actual state, creation time and build estimate. Prepare
|
|
73
|
+
the project while the server becomes ready, then use account-authorized shell
|
|
74
|
+
and project commands to get it running. The CLI itself does not read email,
|
|
75
|
+
open a browser, buy a workspace, or pair one during signup.
|
|
80
76
|
Do not automatically retry a rejected or uncertain exchange. If the account was
|
|
81
77
|
created but its successful response was lost, browser login is the recovery path.
|
|
82
78
|
|
|
@@ -90,21 +86,20 @@ Older `/tcpair` and `/tcdeploy` instructions are retired; use the bundled skills
|
|
|
90
86
|
Start with [teamclaws-onboard](skills/teamclaws-onboard/SKILL.md). For a global
|
|
91
87
|
installation, `npm root -g` locates the package root; read
|
|
92
88
|
`teamclaws/skills/teamclaws-onboard/SKILL.md` beneath it. The package contains one
|
|
93
|
-
shared workflow for login,
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
shared workflow for login, workspace selection, project transfer and setup,
|
|
90
|
+
and verified public/private live hosting. Login and explicit device-pairing
|
|
91
|
+
requests have their respective skills;
|
|
96
92
|
[teamclaws-project](skills/teamclaws-project/SKILL.md) covers project work through
|
|
97
93
|
the existing workspace shell. Status-only requests do not start onboarding.
|
|
98
94
|
|
|
99
95
|
Before any browser authorization, the agent explains the process: sign this
|
|
100
96
|
computer's CLI into the user's TeamClaws account through the browser, choose a
|
|
101
|
-
workspace and
|
|
102
|
-
work and set up its environment on the server. It explains the purpose and access
|
|
97
|
+
workspace, and get the user's project running on the server. It explains the purpose and access
|
|
103
98
|
of each approval before presenting a link, adapting to steps already completed.
|
|
104
99
|
The conversation starts with that context rather than an unexplained request to
|
|
105
100
|
click an authorization link.
|
|
106
101
|
|
|
107
|
-
|
|
102
|
+
For a device-pairing request, pairing completes automatically when TeamClawsDeploy confirms the account owns
|
|
108
103
|
the workspace or is a superuser in its access group. Browser approval is shown
|
|
109
104
|
only when the target reports that approval is pending.
|
|
110
105
|
|
|
@@ -115,7 +110,7 @@ environment that must yield needs a supported completion callback or automatic
|
|
|
115
110
|
wakeup that preserves the process; a saved skill alone cannot supply that
|
|
116
111
|
runtime capability.
|
|
117
112
|
|
|
118
|
-
After verified
|
|
113
|
+
After verified login, the agent runs `teamclaws servers list --json` and
|
|
119
114
|
presents each workspace's name, description, and readiness in a Markdown list or
|
|
120
115
|
code block, or plain text with one option per line. It then suggests concrete
|
|
121
116
|
uses tied to the user's work and continues an already authorized task. An
|
package/dist/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -31,12 +31,12 @@ blocks signup. Its normal status check may clear an authoritatively revoked
|
|
|
31
31
|
login, but preserves state and stops on network errors. Do not automatically
|
|
32
32
|
retry failed or unconfirmed signup. If an account was created and the successful
|
|
33
33
|
exchange response was lost, use the existing browser-login path for recovery.
|
|
34
|
-
After `login_complete` and exit zero,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
After `login_complete` and exit zero, immediately run `teamclaws servers list
|
|
35
|
+
--json`. A new account's automatic free server should appear while it builds;
|
|
36
|
+
show its actual state, creation time and build estimate. Continue preparing the
|
|
37
|
+
user's project while it becomes ready. Use the selected workspace, or ask which
|
|
38
|
+
workspace should run the project when the destination is ambiguous. Follow the
|
|
39
|
+
onboarding skill if the expected server is missing.
|
|
40
40
|
|
|
41
41
|
## Existing account browser login
|
|
42
42
|
|
|
@@ -46,9 +46,8 @@ A status-only request runs only `teamclaws auth status --json` and stops.
|
|
|
46
46
|
|
|
47
47
|
Before starting browser login, explain that the user will sign this computer's
|
|
48
48
|
TeamClaws command-line client into their TeamClaws account through the browser.
|
|
49
|
-
This connects the client to their account
|
|
50
|
-
|
|
51
|
-
show browser approval only if the CLI requests it. If onboarding
|
|
49
|
+
This connects the client to their account so the agent can find their workspace
|
|
50
|
+
and get their project running. If onboarding
|
|
52
51
|
already explained the process, use a short transition into this step. Give the
|
|
53
52
|
approval link with that context, never as an unexplained authorization request.
|
|
54
53
|
|
|
@@ -76,7 +75,7 @@ handle. Do not require an "I approved" or "done" message. If the execution
|
|
|
76
75
|
environment requires yielding, use a supported automatic completion callback or
|
|
77
76
|
wakeup that preserves the process; report a limitation if neither is possible.
|
|
78
77
|
Confirm the returned account after `login_complete` and exit 0, then immediately
|
|
79
|
-
resume the
|
|
78
|
+
resume the user's selected task. Denial, expiry, cancellation,
|
|
80
79
|
and failure end the attempt; report the result without automatically restarting.
|
|
81
80
|
An email address is required. If the user has not provided their TeamClaws email,
|
|
82
81
|
ask for it and wait for their answer before starting login. Do not guess it from
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: teamclaws-onboard
|
|
3
|
-
description: Help a user
|
|
3
|
+
description: Help a user sign in to TeamClaws, choose a workspace, and get their project, app, or job running there. Use for installation and getting-started requests, not status-only questions.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# Get your project running on TeamClaws
|
|
7
7
|
|
|
8
8
|
This is the shared conversation workflow for:
|
|
9
9
|
|
|
@@ -32,15 +32,12 @@ user's work and any steps already completed:
|
|
|
32
32
|
1. For a new account, we'll create it through the CLI and verify the emailed code
|
|
33
33
|
using the agent's authorized inbox access; no browser approval is needed.
|
|
34
34
|
For an ordinary existing account, we'll use browser login if signed out.
|
|
35
|
-
2.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
it, separate from your laptop. That could be a complete job, an agent, a service
|
|
42
|
-
that talks to your other servers, or an entire project. We'll choose something
|
|
43
|
-
useful for you and get it running.
|
|
35
|
+
2. We'll find your workspace and check its state. A new account's automatic
|
|
36
|
+
free server may still be building; show that progress while preparing the project.
|
|
37
|
+
3. We'll put your project there, set up what it needs, run it, and check the
|
|
38
|
+
result. If you already asked for a particular app or job, continue with it.
|
|
39
|
+
Otherwise, suggest useful work based on the conversation and ask what they'd
|
|
40
|
+
like to move first.
|
|
44
41
|
|
|
45
42
|
Explain that you'll keep waiting during each browser approval and continue
|
|
46
43
|
automatically afterward; they do not need to send a confirmation in chat. Before
|
|
@@ -50,8 +47,8 @@ or add another permission question for an already authorized step. Describe the
|
|
|
50
47
|
separate server environment accurately; inspect an existing workspace before
|
|
51
48
|
promising it is empty or that a particular isolation mechanism is configured.
|
|
52
49
|
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
Account login authorizes workspace shell and project commands using the user's
|
|
51
|
+
existing access. Choose the destination by its stable server identifier.
|
|
55
52
|
|
|
56
53
|
## Sign in
|
|
57
54
|
|
|
@@ -136,43 +133,37 @@ remembered once per owner and server across devices, including a decline, so
|
|
|
136
133
|
deliver it when received. Never offer this edit for a shared server whose
|
|
137
134
|
`can_edit_metadata` is false, and never infer ownership from an alias or role.
|
|
138
135
|
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
automatically after terminal success; no "I approved" message is needed.
|
|
164
|
-
After each completed pairing, refresh and present the workspace inventory as
|
|
165
|
-
the pairing skill specifies. Continue any remaining explicitly selected pairings
|
|
166
|
-
without asking again. Additional workspaces still require the user's selection.
|
|
167
|
-
|
|
168
|
-
## Turn the connection into useful work
|
|
136
|
+
- After signup, immediately list servers so the user can see their automatic
|
|
137
|
+
free server building. Show its actual state, creation time and returned build
|
|
138
|
+
estimate. Prepare the app's files and configuration while it builds, then
|
|
139
|
+
check the list again as work proceeds. Verify readiness through actual state
|
|
140
|
+
and command results.
|
|
141
|
+
- With one usable workspace, connect it to the user's task: “I can get your
|
|
142
|
+
project running on **[alias]**. Which project would you like to move?” If the
|
|
143
|
+
user already selected the project and destination, continue the work.
|
|
144
|
+
- With several workspaces and no destination selected, show their names,
|
|
145
|
+
descriptions and states and ask which should run the project. Distinguish
|
|
146
|
+
repeated names with their returned workspace addresses.
|
|
147
|
+
- `not_ready` describes pairing readiness; use the server's actual deployment
|
|
148
|
+
state and authorized shell results to determine whether the project can run.
|
|
149
|
+
- `discovery_state: no_workspaces` means the broker confirmed zero accessible
|
|
150
|
+
workspaces, including those being prepared. For a new signup, report that the
|
|
151
|
+
expected free server is missing and investigate the signup/provisioning
|
|
152
|
+
result. For an existing account, help the user review their workspaces at
|
|
153
|
+
https://teamclaws.com/app/ and choose an available provisioning option within
|
|
154
|
+
their authorization.
|
|
155
|
+
- `unknown` means the broker did not supply a complete inventory count. Check
|
|
156
|
+
the account's workspaces at https://teamclaws.com/app/ before concluding that
|
|
157
|
+
a server is missing. Report failed discovery as a failed request.
|
|
158
|
+
|
|
159
|
+
## Put the project to work
|
|
169
160
|
|
|
170
161
|
Read [What a workspace can do](references/workspace-uses.md) before proposing
|
|
171
162
|
uses. A TeamClaws workspace is a server the user and their agents can put to
|
|
172
163
|
work. Learn the range of possibilities, then select the ideas relevant to this
|
|
173
164
|
user instead of reciting the entire reference.
|
|
174
165
|
|
|
175
|
-
After showing the
|
|
166
|
+
After showing the workspace list, connect the possibilities to the
|
|
176
167
|
user's known projects, tools, goals, and comfort with technical language. Show
|
|
177
168
|
practical enthusiasm through concrete outcomes: a job finishing while they are
|
|
178
169
|
away, a browser-accessible agent continuing work, or their app running at its
|
|
@@ -193,7 +184,17 @@ Continue work already authorized by the user without another generic permission
|
|
|
193
184
|
question. For new work, get their choice before starting it. Follow
|
|
194
185
|
[teamclaws-project](../teamclaws-project/SKILL.md) for jobs, files, services, or
|
|
195
186
|
deployment; use [teamclaws-chat](../teamclaws-chat/SKILL.md) for an authorized
|
|
196
|
-
workspace agent conversation. Ask for a project only if unspecified and a
|
|
187
|
+
workspace agent conversation. Ask for a project only if unspecified and a
|
|
197
188
|
destination only if ambiguous. Transfer consent is not publication consent.
|
|
198
189
|
Respect an explicit "pair only", "stop", or decline: do not add inventory,
|
|
199
190
|
suggestions, or more prompts after the requested stopping point.
|
|
191
|
+
|
|
192
|
+
Use the workspace shell and project skill to transfer the selected files,
|
|
193
|
+
install the required dependencies, configure the app or job, and run it.
|
|
194
|
+
For an app, verify persistence and the intended public or private web address;
|
|
195
|
+
for a job, verify its result or show how to check the running work. Give the
|
|
196
|
+
user the working URL or result and explain where the project lives.
|
|
197
|
+
|
|
198
|
+
For an explicit request to pair a device, use
|
|
199
|
+
[teamclaws-pair](../teamclaws-pair/SKILL.md). Workspace agent conversations use
|
|
200
|
+
the chat skill's own prerequisites and capability checks.
|
|
@@ -4,7 +4,7 @@ Read this reference when helping a user decide what to put on a workspace, or
|
|
|
4
4
|
when carrying out the work they selected. Use their vocabulary and known
|
|
5
5
|
projects to turn these capabilities into specific ideas. Describe the outcome
|
|
6
6
|
first, then explain the setup it needs. Be descriptive when the user wants to
|
|
7
|
-
explore; keep
|
|
7
|
+
explore; keep a getting-started message focused on a few relevant ideas.
|
|
8
8
|
|
|
9
9
|
## A server for the user's work
|
|
10
10
|
|
|
@@ -76,7 +76,7 @@ It can also receive webhooks or expose an API after the appropriate incoming
|
|
|
76
76
|
HTTPS route and access controls are configured. Those requests can trigger a
|
|
77
77
|
worker, update a dashboard, or start an authorized workflow. External access
|
|
78
78
|
depends on network rules, destination permissions, credentials, and service
|
|
79
|
-
limits. TeamClaws
|
|
79
|
+
limits. TeamClaws account authorization supplies workspace shell access; the user must separately
|
|
80
80
|
authorize the external operation. Keep secrets in the host's supported secret
|
|
81
81
|
mechanism and out of chat, source files, and shell command arguments.
|
|
82
82
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: teamclaws-pair
|
|
3
|
-
description: Check or
|
|
3
|
+
description: Check device-pairing status or carry out a user's request to pair this computer with a selected TeamClaws workspace.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Pair with TeamClaws
|
|
7
7
|
|
|
8
|
-
For
|
|
8
|
+
For getting a project running on a workspace, follow
|
|
9
9
|
[teamclaws-onboard](../teamclaws-onboard/SKILL.md).
|
|
10
10
|
|
|
11
11
|
Use the official `teamclaws` executable. Do not implement pairing inside this
|
|
@@ -131,7 +131,7 @@ report the listing failure, and do not invent an inventory or pair again.
|
|
|
131
131
|
|
|
132
132
|
Read the onboarding skill's
|
|
133
133
|
[workspace uses](../teamclaws-onboard/references/workspace-uses.md), then follow
|
|
134
|
-
its
|
|
134
|
+
its project setup guidance. Continue an already authorized task
|
|
135
135
|
automatically. Otherwise suggest concrete work suited to the user and ask for
|
|
136
136
|
the next choice. Listing and suggestions do not authorize another pairing,
|
|
137
137
|
remote chat, file transfer, sharing change, or deployment. A status-only request
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: teamclaws-project
|
|
3
|
-
description:
|
|
3
|
+
description: Get a project, app, or job running on a TeamClaws workspace, or transfer and retrieve its authorized files through the CLI.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Put work on a TeamClaws server
|